mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-02-20 02:25:56 +00:00
Updated Reverse Proxy (markdown)
parent
09c1f788ce
commit
ba31537b26
1 changed files with 35 additions and 0 deletions
|
@ -97,6 +97,41 @@ subdomain.domain.com {
|
||||||
Enabling "WEBSOCKET=true", or the equivalent in your docker environment variables will do the trick.
|
Enabling "WEBSOCKET=true", or the equivalent in your docker environment variables will do the trick.
|
||||||
Link to https-portal Websocket under [Advanced Usage](https://github.com/SteveLTN/https-portal#configure-nginx-through-environment-variables).
|
Link to https-portal Websocket under [Advanced Usage](https://github.com/SteveLTN/https-portal#configure-nginx-through-environment-variables).
|
||||||
|
|
||||||
|
Example docker-compose.yml file using Https-Portal:
|
||||||
|
|
||||||
|
```
|
||||||
|
version: '3.3'
|
||||||
|
|
||||||
|
services:
|
||||||
|
https-portal:
|
||||||
|
image: steveltn/https-portal:1
|
||||||
|
ports:
|
||||||
|
- '80:80'
|
||||||
|
- '443:443'
|
||||||
|
links:
|
||||||
|
- uptime-kuma
|
||||||
|
restart: always
|
||||||
|
environment:
|
||||||
|
DOMAINS: 'status.domain.com -> http://uptime-kuma:3001'
|
||||||
|
STAGE: 'production' # Don't use production until staging works
|
||||||
|
# FORCE_RENEW: 'true'
|
||||||
|
WEBSOCKET: 'true'
|
||||||
|
volumes:
|
||||||
|
- https-portal-data:/var/lib/https-portal
|
||||||
|
|
||||||
|
uptime-kuma:
|
||||||
|
image: louislam/uptime-kuma
|
||||||
|
container_name: uptime-kuma
|
||||||
|
volumes:
|
||||||
|
- ./uptime-kuma:/app/data
|
||||||
|
ports:
|
||||||
|
- 3001:3001
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
https-portal-data:
|
||||||
|
```
|
||||||
|
Only change "status.domain.com" to your domain
|
||||||
|
|
||||||
# Nginx Proxy Manager
|
# Nginx Proxy Manager
|
||||||
|
|
||||||
Please enable "WebSockets Supports"
|
Please enable "WebSockets Supports"
|
||||||
|
|
Loading…
Add table
Reference in a new issue