mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-27 16:54:04 +00:00
Updated Webserver Reverse Proxy (markdown)
parent
1917aa77c0
commit
c307908115
1 changed files with 11 additions and 5 deletions
|
@ -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
|
||||
<VirtualHost *:443>
|
||||
|
@ -68,7 +70,7 @@ Without SSL:
|
|||
</VirtualHost>
|
||||
```
|
||||
|
||||
### 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.
|
||||
|
Loading…
Reference in a new issue