Update Reverse-Proxy.md (#106)

Added the required tags to the Traefik entry: it was nested into the Synology Builtin Reverse Proxy entry
master
Kodiaꓘ 2024-12-31 02:33:52 -05:00 committed by GitHub
parent 10a7a5f125
commit 3da8f213d7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 1 deletions

@ -228,7 +228,8 @@ Unlike other web apps, Uptime Kuma is based on WebSocket. You need two more head
6. Click on the tab *Custom Header* 6. Click on the tab *Custom Header*
7. Click `Create` -> `Websockets`, this automatically fills in the required headers for websockets. 7. Click `Create` -> `Websockets`, this automatically fills in the required headers for websockets.
# Traefik - <details><summary>Traefik</summary>
```yml ```yml
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
@ -238,6 +239,7 @@ Unlike other web apps, Uptime Kuma is based on WebSocket. You need two more head
- "traefik.http.routers.uptime-kuma.tls.certresolver=myresolver" - "traefik.http.routers.uptime-kuma.tls.certresolver=myresolver"
- "traefik.http.services.uptime-kuma.loadBalancer.server.port=3001" - "traefik.http.services.uptime-kuma.loadBalancer.server.port=3001"
``` ```
Add the above to your `docker-compose.yml` file and replace "YourOwnHostname" with the hostname you want to use. When setup correctly, Traefik can automatically get a Lets Encrypt certificate for your service. Add the above to your `docker-compose.yml` file and replace "YourOwnHostname" with the hostname you want to use. When setup correctly, Traefik can automatically get a Lets Encrypt certificate for your service.