mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-02-17 09:05:56 +00:00
Added Traefik Docker-Compose guide
parent
e9a64eae52
commit
9c5251a9a1
1 changed files with 15 additions and 1 deletions
|
@ -11,6 +11,7 @@ Uptime Kuma **do not supported on subdirectory** reverse proxy. Please prepare a
|
|||
- [Synology Builtin Reverse Proxy](#synology-builtin-reverse-proxy)
|
||||
- [Cloudflare](#cloudflare)
|
||||
- [SSL/HTTPS](#ssl-https)
|
||||
- [Traefik]
|
||||
|
||||
|
||||
# Nginx
|
||||
|
@ -113,4 +114,17 @@ https://github.com/louislam/uptime-kuma/issues/138#issuecomment-890485229
|
|||
|
||||
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.
|
||||
|
||||
If your using Apache or NGINX, it is recommended to use CertBot to manage SSL for free, it uses Let's Encrypt to get it's certificates and keeps them renewed. You can also use your own Certificates and place them as shown above. If using cerbot use the "Without SSL" settings and then run certbot on it and it will automatically configure auto-HTTPS redirection.
|
||||
If your using Apache or NGINX, it is recommended to use CertBot to manage SSL for free, it uses Let's Encrypt to get it's certificates and keeps them renewed. You can also use your own Certificates and place them as shown above. If using cerbot use the "Without SSL" settings and then run certbot on it and it will automatically configure auto-HTTPS redirection.
|
||||
|
||||
|
||||
# Traefik
|
||||
```
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.uptime-kuma.rule=Host(`YourOwnHostname`)"
|
||||
- "traefik.http.routers.uptime-kuma.entrypoints=https"
|
||||
- "traefik.http.routers.uptime-kuma.tls=true"
|
||||
- "traefik.http.routers.uptime-kuma.tls.certresolver=myresolver"
|
||||
- "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, to use Traefik reverse Proxy. Note setup correct, Traefik can automaticly, get a Let's Encrypt certificate for your service.
|
||||
|
|
Loading…
Add table
Reference in a new issue