mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-07-13 08:33:14 -07:00
changed proxy_pass format and variables
This commit is contained in:
parent
ed87744a74
commit
a9d1163023
1 changed files with 4 additions and 2 deletions
|
@ -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";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue