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 @@
|
||||
# Set base-url with docker run command env variable -e 'URL_BASE'='/quassel' and make sure Quassel-Web is running on http
|
||||
# Set base-url with docker run command env variable -e 'URL_BASE'='/quassel' and make sure Quassel-Web is running on http
|
||||
# with -e 'HTTPS'='false' or if you're using -e 'ADVANCED'='true' by editing config.json appropriately
|
||||
|
||||
location ^~ /quassel {
|
||||
@@ -13,5 +13,8 @@ location ^~ /quassel {
|
||||
include /config/nginx/proxy.conf;
|
||||
resolver 127.0.0.11 valid=30s;
|
||||
set $upstream_app quassel-web;
|
||||
proxy_pass http://$upstream_app:64080;
|
||||
set $upstream_port 64080;
|
||||
set $upstream_proto http;
|
||||
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user