Commit a9d11630 authored by Billy Syrett's avatar Billy Syrett

changed proxy_pass format and variables

parent ed87744a
......@@ -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";
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment