Updated Running changedetection.io behind a reverse proxy sub directory (markdown)

master
dgtlmoon 2021-11-06 23:07:30 +01:00
rodzic ccdbca050a
commit 9722929341
1 zmienionych plików z 23 dodań i 0 usunięć

@ -74,3 +74,26 @@ _Note_: You may like to comment out the `ports:` section of the base `docker-com
```
## Caddy Server Reverse Proxy
In Caddy alternately, you just need to configure the X-Forwarded-Prefix.
Example using yoursite.com/cd as the path
Be sure to also configure the base URL in 'Settings' to https://yoursite.com/cd
```
yoursite.com {
rewrite /cd /cd/
route /cd/* {
uri strip_prefix /cd
reverse_proxy changedetection:5000 {
header_up X-Forwarded-Prefix /cd
# If some CSS or JS doesnt work, try adding a leading / instead
# header_up X-Forwarded-Prefix /cd/
}
}
}
```