diff --git a/Webserver-Reverse-Proxy.md b/Reverse-Proxy.md similarity index 87% rename from Webserver-Reverse-Proxy.md rename to Reverse-Proxy.md index 964e559..a4df7b5 100644 --- a/Webserver-Reverse-Proxy.md +++ b/Reverse-Proxy.md @@ -1,6 +1,8 @@ -In order to to expose uptime-kuma to the web securely, it is recommended to proxy it behind a traditional webserver such as nginx or Apache. Below are some example configurations that you could use. +In order to to expose Uptime Kuma to the web securely, it is recommended to proxy it behind a traditional webserver such as nginx or Apache. Below are some example configurations that you could use. -### Nginx +Unlikely other web apps, Uptime Kuma is based on WebSocket. You need two more header "Upgrade" and "Connection" in order to reverse proxy WebSocket. + +# Nginx With SSL: ```nginx @@ -36,7 +38,7 @@ server { } ``` -### Apache +# Apache With SSL: ```apache @@ -68,7 +70,7 @@ Without SSL: ``` -### Caddy +# Caddy ```nginx subdomain.domain.com { @@ -76,7 +78,11 @@ subdomain.domain.com { } ``` -### SSL/HTTPS +# Synology Builtin Reverse Proxy + +https://mlohr.com/websockets-for-synology-dsm/ + +# SSL/HTTPS It is recommended to use SSL(HTTPS) with your web-server to avoid MiTM attacks when on a public network. If using caddy these certificates will be auto-generated by caddy and will keep them updated.