mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2026-07-08 17:42:32 +02:00
standardize upstream_app variable
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# make sure that your dns has a cname set for statping and that your statping container is not using a base url
|
||||
# If you are using the SSL docker-compose.yml on the statping repo, then the container name will be set to statup.
|
||||
# On other compose examples, it might be named statping. In that case, change $upstream_statping statup to $upstream_statping statping
|
||||
# On other compose examples, it might be named statping. In that case, change $upstream_app statup to $upstream_app statping
|
||||
|
||||
server {
|
||||
listen 443 ssl;
|
||||
@@ -26,7 +26,7 @@ server {
|
||||
|
||||
include /config/nginx/proxy.conf;
|
||||
resolver 127.0.0.11 valid=30s;
|
||||
set $upstream_statping statup;
|
||||
proxy_pass http://$upstream_statping:8080;
|
||||
set $upstream_app statup;
|
||||
proxy_pass http://$upstream_app:8080;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user