mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2026-07-12 03:22:33 +02:00
changed proxy_pass format and variables
This commit is contained in:
@@ -24,8 +24,10 @@ server {
|
||||
|
||||
include /config/nginx/proxy.conf;
|
||||
resolver 127.0.0.11 valid=30s;
|
||||
set $upstream_gotify gotify;
|
||||
proxy_pass http://$upstream_gotify;
|
||||
set $upstream_app gotify;
|
||||
set $upstream_port 80;
|
||||
set $upstream_proto http;
|
||||
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user