Update README.md

master
Basil Hendroff 2020-08-02 22:15:40 +08:00 committed by GitHub
parent 7b37438346
commit eae4813831
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -91,8 +91,8 @@ This Caddyfile will serve HTML pages out of `/usr/local/www/html` over HTTP. Ni
*:80 {
root * /usr/local/www/html
file_server
reverse_proxy /sonarr/* 192.168.1.12:8989
reverse_proxy /radarr/* 192.168.1.12:9898
reverse_proxy /sonarr* 192.168.1.12:8989
reverse_proxy /radarr* 192.168.1.12:9898
}
```
This will still serve static pages out of `/usr/local/www/html` over HTTP (so maybe you want to put a nice landing page there), but any requests for `/sonarr` or `/radarr` will be proxied to those respective ports on the host you specify.