mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-07-06 04:51:33 -07:00
standardize upstream_app variable
This commit is contained in:
parent
c2ae00ce52
commit
06a1941230
136 changed files with 430 additions and 430 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue