mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2026-07-08 17:42:32 +02:00
Add Port and Proto variables
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#First edit beets.yml and enable the reverse proxy settings, under "web" add "reverse_proxy: true" and restart the beets container.
|
||||
#First edit beets.yml and enable the reverse proxy settings, under "web" add "reverse_proxy: true" and restart the beets container.
|
||||
#Make sure that your dns has a cname set for beets and that your beets container is not using a base url
|
||||
|
||||
server {
|
||||
@@ -26,6 +26,9 @@ server {
|
||||
include /config/nginx/proxy.conf;
|
||||
resolver 127.0.0.11 valid=30s;
|
||||
set $upstream_app beets;
|
||||
proxy_pass http://$upstream_app:8337;
|
||||
set $upstream_port 8337;
|
||||
set $upstream_proto http;
|
||||
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user