-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
cloudflare + nginx + uptime-kuma = wss broken #138
Comments
Hmm that is indeed weird. A few questions: |
It's OK for me. Could you try flexible SSL and reverse proxy without self-signed cert? |
Please read wiki, you are missing some headers. https://github.com/louislam/uptime-kuma/wiki/Reverse-Proxy |
Hello there,
as the title states my setup looks like this:
Since cloudflare offers some kind of protection I want to ensure everyone that visits my website, connects through cloudflare:
However if I proxy traffic through cloudflare and apply these rules I cannot use kuma.
I am not entirely sure if this is an issue with kuma. However, Cloudflare states that Websockets (with SSL) are 100% supported by them and I have had other applications running with Websockets before.
If I skip cloudflare and allow all connections, kuma works but my SSL certificate is broken, which is kinda ugly.
I am open for suggestions on how to improve my setup since I am not sure if this is an issue with kuma.
Errors I am getting with my configuration:
![grafik](https://user-images.githubusercontent.com/24491035/127751127-c7615b6e-62be-456f-8d92-e84c34240a3a.png)
![grafik](https://user-images.githubusercontent.com/24491035/127751167-7be3aee6-58ef-4a6f-9e43-1ce44314f95d.png)
![grafik](https://user-images.githubusercontent.com/24491035/127751184-6f206184-b20b-4a57-8bc0-1e7b38dd3022.png)
Response (no content):
nginx
access.log
my nginx config:
The text was updated successfully, but these errors were encountered: