From 06a1941230fcc7d5fe032dbbfad68c6e7a4775fa Mon Sep 17 00:00:00 2001 From: aptalca Date: Sun, 16 Feb 2020 13:24:23 -0500 Subject: [PATCH] standardize upstream_app variable --- adguard.subdomain.conf.sample | 4 +-- adminer.subfolder.conf.sample | 4 +-- airsonic.subdomain.conf.sample | 4 +-- airsonic.subfolder.conf.sample | 4 +-- bazarr.subdomain.conf.sample | 4 +-- bazarr.subfolder.conf.sample | 4 +-- beets.subdomain.conf.sample | 4 +-- beets.subfolder.conf.sample | 4 +-- bitwarden.subdomain.conf.sample | 12 ++++----- booksonic.subdomain.conf.sample | 4 +-- booksonic.subfolder.conf.sample | 4 +-- calibre-web.subdomain.conf.sample | 4 +-- calibre-web.subfolder.conf.sample | 4 +-- calibre.subdomain.conf.sample | 4 +-- calibre.subfolder.conf.sample | 4 +-- code-server.subdomain.conf.sample | 4 +-- codimd.subdomain.conf.sample | 4 +-- collabora.subdomain.conf.sample | 24 ++++++++--------- couchpotato.subdomain.conf.sample | 4 +-- couchpotato.subfolder.conf.sample | 4 +-- deluge.subdomain.conf.sample | 4 +-- deluge.subfolder.conf.sample | 4 +-- dillinger.subdomain.conf.sample | 4 +-- dokuwiki.subdomain.conf.sample | 4 +-- domoticz.subdomain.conf.sample | 4 +-- domoticz.subfolder.conf.sample | 4 +-- dozzle.subfolder.conf.sample | 4 +-- duplicati.subdomain.conf.sample | 4 +-- duplicati.subfolder.conf.sample | 4 +-- emby.subdomain.conf.sample | 12 ++++----- emby.subfolder.conf.sample | 12 ++++----- embystat.subdomain.conf.sample | 4 +-- flood.subdomain.conf.sample | 4 +-- flood.subfolder.conf.sample | 4 +-- freshrss.subdomain.conf.sample | 4 +-- freshrss.subfolder.conf.sample | 4 +-- ghost.subdomain.conf.sample | 4 +-- ghost.subfolder.conf.sample | 4 +-- gitea.subdomain.conf.sample | 4 +-- gitea.subfolder.conf.sample | 4 +-- glances.subdomain.conf.sample | 4 +-- glances.subfolder.conf.sample | 4 +-- grafana.subdomain.conf.sample | 4 +-- grocy.subdomain.conf.sample | 4 +-- guacamole.subdomain.conf.sample | 4 +-- guacamole.subfolder.conf.sample | 4 +-- headphones.subdomain.conf.sample | 4 +-- headphones.subfolder.conf.sample | 4 +-- heimdall.subdomain.conf.sample | 4 +-- heimdall.subfolder.conf.sample | 4 +-- homeassistant.subdomain.conf.sample | 8 +++--- jackett.subdomain.conf.sample | 8 +++--- jackett.subfolder.conf.sample | 8 +++--- jellyfin.subdomain.conf.sample | 12 ++++----- jellyfin.subfolder.conf.sample | 8 +++--- jenkins.subfolder.conf.sample | 4 +-- kanzi.subdomain.conf.sample | 4 +-- kanzi.subfolder.conf.sample | 4 +-- lazylibrarian.subdomain.conf.sample | 4 +-- lazylibrarian.subfolder.conf.sample | 4 +-- librespeed.subdomain.com.sample | 4 +-- lidarr.subdomain.conf.sample | 8 +++--- lidarr.subfolder.conf.sample | 8 +++--- lychee.subdomain.conf.sample | 4 +-- medusa.subdomain.conf.sample | 4 +-- medusa.subfolder.conf.sample | 4 +-- monitorr.subdomain.conf.sample | 4 +-- monitorr.subfolder.conf.sample | 4 +-- mstream.subdomain.conf.sample | 4 +-- mylar.subdomain.conf.sample | 4 +-- mylar.subfolder.conf.sample | 4 +-- mytinytodo.subfolder.conf.sample | 4 +-- netdata.subdomain.conf.sample | 4 +-- netdata.subfolder.conf.sample | 4 +-- nextcloud.subdomain.conf.sample | 4 +-- nextcloud.subfolder.conf.sample | 4 +-- nzbget.subdomain.conf.sample | 16 ++++++------ nzbget.subfolder.conf.sample | 16 ++++++------ nzbhydra.subdomain.conf.sample | 24 ++++++++--------- nzbhydra.subfolder.conf.sample | 24 ++++++++--------- ombi.subdomain.conf.sample | 12 ++++----- ombi.subfolder.conf.sample | 12 ++++----- openvpn-as.subdomain.conf.sample | 8 +++--- organizr-auth.subfolder.conf.sample | 4 +-- organizr.subdomain.conf.sample | 4 +-- organizr.subfolder.conf.sample | 4 +-- osticket.subdomain.conf.sample | 4 +-- phpmyadmin.subdomain.conf.sample | 4 +-- phpmyadmin.subfolder.conf.sample | 4 +-- pihole.subdomain.conf.sample | 8 +++--- pihole.subfolder.conf.sample | 8 +++--- piwigo.subdomain.conf.sample | 4 +-- plex.subdomain.conf.sample | 6 ++--- plex.subfolder.conf.sample | 6 ++--- plexwebtools.subdomain.conf.sample | 4 +-- plexwebtools.subfolder.conf.sample | 4 +-- portainer.subdomain.conf.sample | 8 +++--- portainer.subfolder.conf.sample | 8 +++--- prometheus.subdomain.conf.sample | 4 +-- pydio.subdomain.conf.sample | 4 +-- pyload.subdomain.conf.sample | 4 +-- qbittorrent.subdomain.conf.sample | 36 +++++++++++++------------- qbittorrent.subfolder.conf.sample | 36 +++++++++++++------------- quassel-web.subdomain.conf.sample | 4 +-- quassel-web.subfolder.conf.sample | 4 +-- radarr.subdomain.conf.sample | 8 +++--- radarr.subfolder.conf.sample | 8 +++--- raneto.subdomain.conf.sample | 4 +-- resilio-sync.subdomain.conf.sample | 4 +-- rutorrent.subdomain.conf.sample | 8 +++--- rutorrent.subfolder.conf.sample | 8 +++--- sabnzbd.subdomain.conf.sample | 8 +++--- sabnzbd.subfolder.conf.sample | 8 +++--- scope.subfolder.conf.sample | 4 +-- sickrage.subdomain.conf.sample | 4 +-- sickrage.subfolder.conf.sample | 4 +-- smokeping.subdomain.conf.sample | 4 +-- smokeping.subfolder.conf.sample | 4 +-- sonarr.subdomain.conf.sample | 8 +++--- sonarr.subfolder.conf.sample | 8 +++--- statping.subdomain.conf.sample | 6 ++--- syncthing.subdomain.conf.sample | 4 +-- taisun.subdomain.conf.sample | 4 +-- tautulli.subdomain.conf.sample | 8 +++--- tautulli.subfolder.conf.sample | 8 +++--- tdarr.subdomain.conf.sample | 4 +-- thelounge.subdomain.conf.sample | 4 +-- thelounge.subfolder.conf.sample | 4 +-- transmission.subdomain.conf.sample | 8 +++--- transmission.subfolder.conf.sample | 8 +++--- tt-rss.subdomain.conf.sample | 6 ++--- ubooquity.subdomain.conf.sample | 16 ++++++------ ubooquity.subfolder.conf.sample | 8 +++--- unifi-controller.subdomain.conf.sample | 8 +++--- znc.subdomain.conf.sample | 4 +-- znc.subfolder.conf.sample | 4 +-- 136 files changed, 430 insertions(+), 430 deletions(-) diff --git a/adguard.subdomain.conf.sample b/adguard.subdomain.conf.sample index 0f27026e3..21c601ceb 100644 --- a/adguard.subdomain.conf.sample +++ b/adguard.subdomain.conf.sample @@ -24,7 +24,7 @@ server { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_adguard adguard; - proxy_pass http://$upstream_adguard; + set $upstream_app adguard; + proxy_pass http://$upstream_app; } } diff --git a/adminer.subfolder.conf.sample b/adminer.subfolder.conf.sample index 73450f4ee..5d3545b57 100644 --- a/adminer.subfolder.conf.sample +++ b/adminer.subfolder.conf.sample @@ -14,6 +14,6 @@ location ^~ /adminer/ { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_adminer adminer; - proxy_pass http://$upstream_adminer:8080; + set $upstream_app adminer; + proxy_pass http://$upstream_app:8080; } diff --git a/airsonic.subdomain.conf.sample b/airsonic.subdomain.conf.sample index 9c708da75..605ee6e09 100644 --- a/airsonic.subdomain.conf.sample +++ b/airsonic.subdomain.conf.sample @@ -24,7 +24,7 @@ server { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_airsonic airsonic; - proxy_pass http://$upstream_airsonic:4040; + set $upstream_app airsonic; + proxy_pass http://$upstream_app:4040; } } diff --git a/airsonic.subfolder.conf.sample b/airsonic.subfolder.conf.sample index cda980885..e509e62fc 100644 --- a/airsonic.subfolder.conf.sample +++ b/airsonic.subfolder.conf.sample @@ -11,6 +11,6 @@ location ^~ /airsonic { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_airsonic airsonic; - proxy_pass http://$upstream_airsonic:4040; + set $upstream_app airsonic; + proxy_pass http://$upstream_app:4040; } diff --git a/bazarr.subdomain.conf.sample b/bazarr.subdomain.conf.sample index 3f61b1501..56306f8bb 100644 --- a/bazarr.subdomain.conf.sample +++ b/bazarr.subdomain.conf.sample @@ -24,7 +24,7 @@ server { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_bazarr bazarr; - proxy_pass http://$upstream_bazarr:6767; + set $upstream_app bazarr; + proxy_pass http://$upstream_app:6767; } } diff --git a/bazarr.subfolder.conf.sample b/bazarr.subfolder.conf.sample index 50ac52a60..9cff8f4ab 100644 --- a/bazarr.subfolder.conf.sample +++ b/bazarr.subfolder.conf.sample @@ -14,6 +14,6 @@ location ^~ /bazarr/ { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_bazarr bazarr; - proxy_pass http://$upstream_bazarr:6767; + set $upstream_app bazarr; + proxy_pass http://$upstream_app:6767; } diff --git a/beets.subdomain.conf.sample b/beets.subdomain.conf.sample index 92a8327b9..48731706b 100644 --- a/beets.subdomain.conf.sample +++ b/beets.subdomain.conf.sample @@ -25,7 +25,7 @@ server { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_beets beets; - proxy_pass http://$upstream_beets:8337; + set $upstream_app beets; + proxy_pass http://$upstream_app:8337; } } diff --git a/beets.subfolder.conf.sample b/beets.subfolder.conf.sample index ebd20c47f..3bfacb9ee 100644 --- a/beets.subfolder.conf.sample +++ b/beets.subfolder.conf.sample @@ -11,8 +11,8 @@ location /beets { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_beets beets; - proxy_pass http://$upstream_beets:8337; + set $upstream_app beets; + proxy_pass http://$upstream_app:8337; proxy_set_header Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Scheme $scheme; diff --git a/bitwarden.subdomain.conf.sample b/bitwarden.subdomain.conf.sample index 77a7db320..03112d0f4 100644 --- a/bitwarden.subdomain.conf.sample +++ b/bitwarden.subdomain.conf.sample @@ -25,15 +25,15 @@ server { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_bitwarden bitwarden; - proxy_pass http://$upstream_bitwarden:80; + set $upstream_app bitwarden; + proxy_pass http://$upstream_app:80; } location /notifications/hub { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_bitwarden bitwarden; - proxy_pass http://$upstream_bitwarden:80; + set $upstream_app bitwarden; + proxy_pass http://$upstream_app:80; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "Upgrade"; } @@ -41,8 +41,8 @@ server { location /notifications/hub/negotiate { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_bitwarden bitwarden; - proxy_pass http://$upstream_bitwarden:80; + set $upstream_app bitwarden; + proxy_pass http://$upstream_app:80; } } diff --git a/booksonic.subdomain.conf.sample b/booksonic.subdomain.conf.sample index b123bbc19..01c44684c 100644 --- a/booksonic.subdomain.conf.sample +++ b/booksonic.subdomain.conf.sample @@ -24,7 +24,7 @@ server { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_booksonic booksonic; - proxy_pass http://$upstream_boksonic:4040; + set $upstream_app booksonic; + proxy_pass http://$upstream_app:4040; } } diff --git a/booksonic.subfolder.conf.sample b/booksonic.subfolder.conf.sample index ad2c2df78..e205ceeeb 100644 --- a/booksonic.subfolder.conf.sample +++ b/booksonic.subfolder.conf.sample @@ -11,6 +11,6 @@ location ^~ /booksonic { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_booksonic booksonic; - proxy_pass http://$upstream_booksonic:4040; + set $upstream_app booksonic; + proxy_pass http://$upstream_app:4040; } diff --git a/calibre-web.subdomain.conf.sample b/calibre-web.subdomain.conf.sample index 5754dc228..60547908c 100644 --- a/calibre-web.subdomain.conf.sample +++ b/calibre-web.subdomain.conf.sample @@ -24,8 +24,8 @@ server { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_calibre_web calibre-web; - proxy_pass http://$upstream_calibre_web:8083; + set $upstream_app calibre-web; + proxy_pass http://$upstream_app:8083; proxy_set_header Host $http_host; proxy_set_header X-Scheme $scheme; } diff --git a/calibre-web.subfolder.conf.sample b/calibre-web.subfolder.conf.sample index 6bd0fbc67..1da0096c3 100644 --- a/calibre-web.subfolder.conf.sample +++ b/calibre-web.subfolder.conf.sample @@ -13,8 +13,8 @@ location ^~ /calibre-web/ { #error_page 401 =200 /login; resolver 127.0.0.11 valid=30s; - set $upstream_calibre_web calibre-web; - proxy_pass http://$upstream_calibre_web:8083; + set $upstream_app calibre-web; + proxy_pass http://$upstream_app:8083; proxy_set_header Host $http_host; proxy_set_header X-Scheme $scheme; proxy_set_header X-Script-Name /calibre-web; diff --git a/calibre.subdomain.conf.sample b/calibre.subdomain.conf.sample index af6a7490b..adb63731e 100644 --- a/calibre.subdomain.conf.sample +++ b/calibre.subdomain.conf.sample @@ -23,8 +23,8 @@ server { #error_page 401 =200 /login; resolver 127.0.0.11 valid=30s; - set $upstream_calibre calibre; - proxy_pass http://$upstream_calibre:8080; + set $upstream_app calibre; + proxy_pass http://$upstream_app:8080; proxy_buffering off; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection $http_connection; diff --git a/calibre.subfolder.conf.sample b/calibre.subfolder.conf.sample index afc6a9667..8b2bfacf1 100644 --- a/calibre.subfolder.conf.sample +++ b/calibre.subfolder.conf.sample @@ -13,7 +13,7 @@ location ^~ /calibre/ { #error_page 401 =200 /login; resolver 127.0.0.11 valid=30s; - set $upstream_calibre calibre; + set $upstream_app calibre; rewrite /calibre(.*) $1 break; - proxy_pass http://$upstream_calibre:8080; + proxy_pass http://$upstream_app:8080; } diff --git a/code-server.subdomain.conf.sample b/code-server.subdomain.conf.sample index 65f7d866c..0a7ce86a5 100644 --- a/code-server.subdomain.conf.sample +++ b/code-server.subdomain.conf.sample @@ -24,8 +24,8 @@ server { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_code_server code-server; - proxy_pass http://$upstream_code_server:8443; + set $upstream_app code-server; + proxy_pass http://$upstream_app:8443; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection upgrade; } diff --git a/codimd.subdomain.conf.sample b/codimd.subdomain.conf.sample index bd47c7e8c..c05100874 100644 --- a/codimd.subdomain.conf.sample +++ b/codimd.subdomain.conf.sample @@ -26,7 +26,7 @@ server { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_codimd codimd; - proxy_pass http://$upstream_codimd:3000; + set $upstream_app codimd; + proxy_pass http://$upstream_app:3000; } } \ No newline at end of file diff --git a/collabora.subdomain.conf.sample b/collabora.subdomain.conf.sample index 3b260b776..bfe53eea0 100644 --- a/collabora.subdomain.conf.sample +++ b/collabora.subdomain.conf.sample @@ -11,32 +11,32 @@ server { # static files location ^~ /loleaflet { resolver 127.0.0.11 valid=30s; - set $upstream_collabora collabora; - proxy_pass https://$upstream_collabora:9980; + set $upstream_app collabora; + proxy_pass https://$upstream_app:9980; proxy_set_header Host $http_host; } # WOPI discovery URL location ^~ /hosting/discovery { resolver 127.0.0.11 valid=30s; - set $upstream_collabora collabora; - proxy_pass https://$upstream_collabora:9980; + set $upstream_app collabora; + proxy_pass https://$upstream_app:9980; proxy_set_header Host $http_host; } # Capabilities location ^~ /hosting/capabilities { resolver 127.0.0.11 valid=30s; - set $upstream_collabora collabora; - proxy_pass https://$upstream_collabora:9980; + set $upstream_app collabora; + proxy_pass https://$upstream_app:9980; proxy_set_header Host $http_host; } # main websocket location ~ ^/lool/(.*)/ws$ { resolver 127.0.0.11 valid=30s; - set $upstream_collabora collabora; - proxy_pass https://$upstream_collabora:9980; + set $upstream_app collabora; + proxy_pass https://$upstream_app:9980; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "Upgrade"; proxy_set_header Host $http_host; @@ -46,16 +46,16 @@ server { # download, presentation and image upload location ~ ^/lool { resolver 127.0.0.11 valid=30s; - set $upstream_collabora collabora; - proxy_pass https://$upstream_collabora:9980; + set $upstream_app collabora; + proxy_pass https://$upstream_app:9980; proxy_set_header Host $http_host; } # Admin Console websocket location ^~ /lool/adminws { resolver 127.0.0.11 valid=30s; - set $upstream_collabora collabora; - proxy_pass https://$upstream_collabora:9980; + set $upstream_app collabora; + proxy_pass https://$upstream_app:9980; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "Upgrade"; proxy_set_header Host $http_host; diff --git a/couchpotato.subdomain.conf.sample b/couchpotato.subdomain.conf.sample index 609ff098c..27a0288ce 100644 --- a/couchpotato.subdomain.conf.sample +++ b/couchpotato.subdomain.conf.sample @@ -24,7 +24,7 @@ server { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_couchpotato couchpotato; - proxy_pass http://$upstream_couchpotato:5050; + set $upstream_app couchpotato; + proxy_pass http://$upstream_app:5050; } } diff --git a/couchpotato.subfolder.conf.sample b/couchpotato.subfolder.conf.sample index 99229d727..937a14fc0 100644 --- a/couchpotato.subfolder.conf.sample +++ b/couchpotato.subfolder.conf.sample @@ -11,6 +11,6 @@ location ^~ /couchpotato { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_couchpotato couchpotato; - proxy_pass http://$upstream_couchpotato:5050; + set $upstream_app couchpotato; + proxy_pass http://$upstream_app:5050; } diff --git a/deluge.subdomain.conf.sample b/deluge.subdomain.conf.sample index 8da04d00f..b43cc3f5e 100644 --- a/deluge.subdomain.conf.sample +++ b/deluge.subdomain.conf.sample @@ -24,7 +24,7 @@ server { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_deluge deluge; - proxy_pass http://$upstream_deluge:8112; + set $upstream_app deluge; + proxy_pass http://$upstream_app:8112; } } diff --git a/deluge.subfolder.conf.sample b/deluge.subfolder.conf.sample index f5004ef59..d1f4f9acb 100644 --- a/deluge.subfolder.conf.sample +++ b/deluge.subfolder.conf.sample @@ -14,8 +14,8 @@ location ^~ /deluge/ { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_deluge deluge; + set $upstream_app deluge; rewrite /deluge(.*) $1 break; - proxy_pass http://$upstream_deluge:8112; + proxy_pass http://$upstream_app:8112; proxy_set_header X-Deluge-Base "/deluge/"; } diff --git a/dillinger.subdomain.conf.sample b/dillinger.subdomain.conf.sample index 33978f522..97f7a885b 100644 --- a/dillinger.subdomain.conf.sample +++ b/dillinger.subdomain.conf.sample @@ -24,7 +24,7 @@ server { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_dillinger dillinger; - proxy_pass http://$upstream_dillinger:8080; + set $upstream_app dillinger; + proxy_pass http://$upstream_app:8080; } } \ No newline at end of file diff --git a/dokuwiki.subdomain.conf.sample b/dokuwiki.subdomain.conf.sample index 9a3d2ef04..5f81c7f08 100644 --- a/dokuwiki.subdomain.conf.sample +++ b/dokuwiki.subdomain.conf.sample @@ -25,7 +25,7 @@ server { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_dokuwiki dokuwiki; - proxy_pass http://$upstream_dokuwiki:80; + set $upstream_app dokuwiki; + proxy_pass http://$upstream_app:80; } } diff --git a/domoticz.subdomain.conf.sample b/domoticz.subdomain.conf.sample index 1a285781d..226e1062e 100644 --- a/domoticz.subdomain.conf.sample +++ b/domoticz.subdomain.conf.sample @@ -24,7 +24,7 @@ server { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_domoticz domoticz; - proxy_pass http://$upstream_domoticz:8080; + set $upstream_app domoticz; + proxy_pass http://$upstream_app:8080; } } \ No newline at end of file diff --git a/domoticz.subfolder.conf.sample b/domoticz.subfolder.conf.sample index 35e442397..c8a77fc2c 100644 --- a/domoticz.subfolder.conf.sample +++ b/domoticz.subfolder.conf.sample @@ -11,6 +11,6 @@ location ^~ /domoticz/ { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_domoticz domoticz; - proxy_pass http://$upstream_domoticz:8080; + set $upstream_app domoticz; + proxy_pass http://$upstream_app:8080; } diff --git a/dozzle.subfolder.conf.sample b/dozzle.subfolder.conf.sample index d37073a22..6fd42721a 100644 --- a/dozzle.subfolder.conf.sample +++ b/dozzle.subfolder.conf.sample @@ -17,6 +17,6 @@ location ^~ /dozzle/ { proxy_buffering off; proxy_cache off; resolver 127.0.0.11 valid=30s; - set $upstream_dozzle dozzle; - proxy_pass http://$upstream_dozzle:8080; + set $upstream_app dozzle; + proxy_pass http://$upstream_app:8080; } diff --git a/duplicati.subdomain.conf.sample b/duplicati.subdomain.conf.sample index 42ddd2c01..f6dc7a7f7 100644 --- a/duplicati.subdomain.conf.sample +++ b/duplicati.subdomain.conf.sample @@ -23,7 +23,7 @@ server { #error_page 401 =200 /login; resolver 127.0.0.11 valid=30s; - set $upstream_duplicati duplicati; - proxy_pass http://$upstream_duplicati:8200; + set $upstream_app duplicati; + proxy_pass http://$upstream_app:8200; } } diff --git a/duplicati.subfolder.conf.sample b/duplicati.subfolder.conf.sample index 1e6587615..263f8a71d 100644 --- a/duplicati.subfolder.conf.sample +++ b/duplicati.subfolder.conf.sample @@ -13,7 +13,7 @@ location ^~ /duplicati/ { #error_page 401 =200 /login; resolver 127.0.0.11 valid=30s; - set $upstream_duplicati duplicati; + set $upstream_app duplicati; rewrite /duplicati(.*) $1 break; - proxy_pass http://$upstream_duplicati:8200; + proxy_pass http://$upstream_app:8200; } diff --git a/emby.subdomain.conf.sample b/emby.subdomain.conf.sample index fc11bf495..9efad40e7 100644 --- a/emby.subdomain.conf.sample +++ b/emby.subdomain.conf.sample @@ -1,6 +1,6 @@ # make sure that your dns has a cname set for emby, if emby is running in bridge mode, the below config should work as is, although, -# the container name is expected to be "emby", if not, replace the lines "set $upstream_emby emby;" with "set $upstream_emby ;" -# for host mode, replace the lines "proxy_pass http://$upstream_emby:8096;" with "proxy_pass http://HOSTIP:8096;" HOSTIP being the IP address of emby +# the container name is expected to be "emby", if not, replace the lines "set $upstream_app emby;" with "set $upstream_app ;" +# for host mode, replace the lines "proxy_pass http://$upstream_app:8096;" with "proxy_pass http://HOSTIP:8096;" HOSTIP being the IP address of emby # in emby settings, under "Advanced" change the public https port to 443, leave the local ports as is, set the "external domain" to your url, # and set the "Secure connection mode" to "Handled by reverse proxy" @@ -17,8 +17,8 @@ server { location / { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_emby emby; - proxy_pass http://$upstream_emby:8096; + set $upstream_app emby; + proxy_pass http://$upstream_app:8096; proxy_set_header Range $http_range; proxy_set_header If-Range $http_if_range; @@ -27,8 +27,8 @@ server { location ~ (/emby)?/socket { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_emby emby; - proxy_pass http://$upstream_emby:8096; + set $upstream_app emby; + proxy_pass http://$upstream_app:8096; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection $http_connection; diff --git a/emby.subfolder.conf.sample b/emby.subfolder.conf.sample index 1226cedb4..7d62fd5d0 100644 --- a/emby.subfolder.conf.sample +++ b/emby.subfolder.conf.sample @@ -1,6 +1,6 @@ # if emby is running in bridge mode, the below config should work as is, although, the container name is expected to be "emby", -# if not, replace the lines "set $upstream_emby emby;" with "set $upstream_emby ;" -# for host mode, replace the lines "proxy_pass http://$upstream_emby:8096;" with "proxy_pass http://HOSTIP:8096;" HOSTIP being the IP address of emby +# if not, replace the lines "set $upstream_app emby;" with "set $upstream_app ;" +# for host mode, replace the lines "proxy_pass http://$upstream_app:8096;" with "proxy_pass http://HOSTIP:8096;" HOSTIP being the IP address of emby # in emby settings, under "Advanced" change the public https port to 443, leave the local ports as is, set the "external domain" to your url and subdomain, # and set the "Secure connection mode" to "Handled by reverse proxy" @@ -10,8 +10,8 @@ location /emby { location ^~ /emby/ { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_emby emby; - proxy_pass http://$upstream_emby:8096; + set $upstream_app emby; + proxy_pass http://$upstream_app:8096; proxy_set_header Range $http_range; proxy_set_header If-Range $http_if_range; @@ -20,8 +20,8 @@ location ^~ /emby/ { location ^~ /embywebsocket { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_emby emby; - proxy_pass http://$upstream_emby:8096; + set $upstream_app emby; + proxy_pass http://$upstream_app:8096; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection $http_connection; diff --git a/embystat.subdomain.conf.sample b/embystat.subdomain.conf.sample index b0405fd54..b166cf818 100644 --- a/embystat.subdomain.conf.sample +++ b/embystat.subdomain.conf.sample @@ -24,7 +24,7 @@ server { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_embystat embystat; - proxy_pass http://$upstream_embystat:6555; + set $upstream_app embystat; + proxy_pass http://$upstream_app:6555; } } diff --git a/flood.subdomain.conf.sample b/flood.subdomain.conf.sample index 3890d3b99..0ab0f3ce4 100644 --- a/flood.subdomain.conf.sample +++ b/flood.subdomain.conf.sample @@ -24,7 +24,7 @@ server { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_flood flood; - proxy_pass http://$upstream_flood:3000; + set $upstream_app flood; + proxy_pass http://$upstream_app:3000; } } diff --git a/flood.subfolder.conf.sample b/flood.subfolder.conf.sample index 90b5d76ac..caa98b4d6 100644 --- a/flood.subfolder.conf.sample +++ b/flood.subfolder.conf.sample @@ -14,7 +14,7 @@ location ^~ /flood/ { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_flood flood; + set $upstream_app flood; rewrite /flood(.*) $1 break; - proxy_pass http://$upstream_flood:3000; + proxy_pass http://$upstream_app:3000; } diff --git a/freshrss.subdomain.conf.sample b/freshrss.subdomain.conf.sample index 9ca07fc86..aba0e341f 100644 --- a/freshrss.subdomain.conf.sample +++ b/freshrss.subdomain.conf.sample @@ -24,8 +24,8 @@ server { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_freshrss freshrss; - proxy_pass http://$upstream_freshrss; + set $upstream_app freshrss; + proxy_pass http://$upstream_app; proxy_redirect off; proxy_buffering off; diff --git a/freshrss.subfolder.conf.sample b/freshrss.subfolder.conf.sample index ab46adc63..497f4007e 100644 --- a/freshrss.subfolder.conf.sample +++ b/freshrss.subfolder.conf.sample @@ -15,9 +15,9 @@ location ^~ /freshrss/ { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_freshrss freshrss; + set $upstream_app freshrss; rewrite /freshrss(.*) $1 break; - proxy_pass http://$upstream_freshrss:80; + proxy_pass http://$upstream_app:80; proxy_redirect off; proxy_buffering off; diff --git a/ghost.subdomain.conf.sample b/ghost.subdomain.conf.sample index 413f526b8..c6b38e4e9 100644 --- a/ghost.subdomain.conf.sample +++ b/ghost.subdomain.conf.sample @@ -24,8 +24,8 @@ server { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_ghost ghost; - proxy_pass http://$upstream_ghost:2368; + set $upstream_app ghost; + proxy_pass http://$upstream_app:2368; proxy_redirect off; } } diff --git a/ghost.subfolder.conf.sample b/ghost.subfolder.conf.sample index f35c8e480..18491eea6 100644 --- a/ghost.subfolder.conf.sample +++ b/ghost.subfolder.conf.sample @@ -12,7 +12,7 @@ location /blog { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_ghost ghost; - proxy_pass http://$upstream_ghost:2368; + set $upstream_app ghost; + proxy_pass http://$upstream_app:2368; proxy_redirect off; } diff --git a/gitea.subdomain.conf.sample b/gitea.subdomain.conf.sample index 9f0fc6ce6..05d5dc373 100644 --- a/gitea.subdomain.conf.sample +++ b/gitea.subdomain.conf.sample @@ -30,7 +30,7 @@ server { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_gitea gitea; - proxy_pass http://$upstream_gitea:3000; + set $upstream_app gitea; + proxy_pass http://$upstream_app:3000; } } diff --git a/gitea.subfolder.conf.sample b/gitea.subfolder.conf.sample index 03a477e67..9b2aff0bc 100644 --- a/gitea.subfolder.conf.sample +++ b/gitea.subfolder.conf.sample @@ -11,7 +11,7 @@ location /gitea { location ^~ /gitea/ { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_gitea gitea; + set $upstream_app gitea; rewrite /gitea(.*) $1 break; - proxy_pass http://$upstream_gitea:3000; + proxy_pass http://$upstream_app:3000; } diff --git a/glances.subdomain.conf.sample b/glances.subdomain.conf.sample index c539f7922..bbe846d2c 100644 --- a/glances.subdomain.conf.sample +++ b/glances.subdomain.conf.sample @@ -24,7 +24,7 @@ server { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_glances glances; - proxy_pass http://$upstream_glances:61208; + set $upstream_app glances; + proxy_pass http://$upstream_app:61208; } } diff --git a/glances.subfolder.conf.sample b/glances.subfolder.conf.sample index 6637d58f7..701bd6aa7 100644 --- a/glances.subfolder.conf.sample +++ b/glances.subfolder.conf.sample @@ -14,7 +14,7 @@ location ^~ /glances/ { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_glances glances; + set $upstream_app glances; rewrite /glances(.*) $1 break; - proxy_pass http://$upstream_glances:61208; + proxy_pass http://$upstream_app:61208; } diff --git a/grafana.subdomain.conf.sample b/grafana.subdomain.conf.sample index b19635756..67af2cf11 100644 --- a/grafana.subdomain.conf.sample +++ b/grafana.subdomain.conf.sample @@ -24,7 +24,7 @@ server { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_grafana grafana; - proxy_pass http://$upstream_grafana:3000; + set $upstream_app grafana; + proxy_pass http://$upstream_app:3000; } } diff --git a/grocy.subdomain.conf.sample b/grocy.subdomain.conf.sample index 71d7a46e0..e4c070532 100644 --- a/grocy.subdomain.conf.sample +++ b/grocy.subdomain.conf.sample @@ -24,8 +24,8 @@ server { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_grocy grocy; - proxy_pass http://$upstream_grocy:80; + set $upstream_app grocy; + proxy_pass http://$upstream_app:80; } } \ No newline at end of file diff --git a/guacamole.subdomain.conf.sample b/guacamole.subdomain.conf.sample index efe4e3fd6..e74eef11e 100644 --- a/guacamole.subdomain.conf.sample +++ b/guacamole.subdomain.conf.sample @@ -25,7 +25,7 @@ server { include /config/nginx/proxy.conf; proxy_buffering off; resolver 127.0.0.11 valid=30s; - set $upstream_guacamole guacamole; - proxy_pass http://$upstream_guacamole:8080; + set $upstream_app guacamole; + proxy_pass http://$upstream_app:8080; } } diff --git a/guacamole.subfolder.conf.sample b/guacamole.subfolder.conf.sample index ea14873a1..0ab197881 100644 --- a/guacamole.subfolder.conf.sample +++ b/guacamole.subfolder.conf.sample @@ -15,7 +15,7 @@ location ^~ /guacamole/ { include /config/nginx/proxy.conf; proxy_buffering off; resolver 127.0.0.11 valid=30s; - set $upstream_guacamole guacamole; + set $upstream_app guacamole; rewrite /guacamole(.*) $1 break; - proxy_pass http://$upstream_guacamole:8080; + proxy_pass http://$upstream_app:8080; } diff --git a/headphones.subdomain.conf.sample b/headphones.subdomain.conf.sample index a440ee0b1..5e91780c4 100644 --- a/headphones.subdomain.conf.sample +++ b/headphones.subdomain.conf.sample @@ -24,7 +24,7 @@ server { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_headphones headphones; - proxy_pass http://$upstream_headphones:8181; + set $upstream_app headphones; + proxy_pass http://$upstream_app:8181; } } diff --git a/headphones.subfolder.conf.sample b/headphones.subfolder.conf.sample index 775aa3562..70499e03f 100644 --- a/headphones.subfolder.conf.sample +++ b/headphones.subfolder.conf.sample @@ -11,6 +11,6 @@ location ^~ /headphones { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_headphones headphones; - proxy_pass http://$upstream_headphones:8181; + set $upstream_app headphones; + proxy_pass http://$upstream_app:8181; } diff --git a/heimdall.subdomain.conf.sample b/heimdall.subdomain.conf.sample index c37f830cf..3df0abe1d 100644 --- a/heimdall.subdomain.conf.sample +++ b/heimdall.subdomain.conf.sample @@ -24,7 +24,7 @@ server { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_heimdall heimdall; - proxy_pass https://$upstream_heimdall:443; + set $upstream_app heimdall; + proxy_pass https://$upstream_app:443; } } diff --git a/heimdall.subfolder.conf.sample b/heimdall.subfolder.conf.sample index 37f4bf13c..bdd81b375 100644 --- a/heimdall.subfolder.conf.sample +++ b/heimdall.subfolder.conf.sample @@ -11,6 +11,6 @@ location / { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_heimdall heimdall; - proxy_pass https://$upstream_heimdall:443; + set $upstream_app heimdall; + proxy_pass https://$upstream_app:443; } diff --git a/homeassistant.subdomain.conf.sample b/homeassistant.subdomain.conf.sample index 97d6f7793..b906d4311 100644 --- a/homeassistant.subdomain.conf.sample +++ b/homeassistant.subdomain.conf.sample @@ -24,14 +24,14 @@ server { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_homeassistant homeassistant; - proxy_pass http://$upstream_homeassistant:8123; + set $upstream_app homeassistant; + proxy_pass http://$upstream_app:8123; } location /api/websocket { resolver 127.0.0.11 valid=30s; - set $upstream_homeassistant homeassistant; - proxy_pass http://$upstream_homeassistant:8123; + set $upstream_app homeassistant; + proxy_pass http://$upstream_app:8123; proxy_set_header Host $host; proxy_http_version 1.1; diff --git a/jackett.subdomain.conf.sample b/jackett.subdomain.conf.sample index bd63748db..017d06e1a 100644 --- a/jackett.subdomain.conf.sample +++ b/jackett.subdomain.conf.sample @@ -24,14 +24,14 @@ server { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_jackett jackett; - proxy_pass http://$upstream_jackett:9117; + set $upstream_app jackett; + proxy_pass http://$upstream_app:9117; } location ~ (/jackett)?/(api|dl) { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_jackett jackett; - proxy_pass http://$upstream_jackett:9117; + set $upstream_app jackett; + proxy_pass http://$upstream_app:9117; } } diff --git a/jackett.subfolder.conf.sample b/jackett.subfolder.conf.sample index 42464caca..3ed1b738d 100644 --- a/jackett.subfolder.conf.sample +++ b/jackett.subfolder.conf.sample @@ -11,13 +11,13 @@ location /jackett { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_jackett jackett; - proxy_pass http://$upstream_jackett:9117; + set $upstream_app jackett; + proxy_pass http://$upstream_app:9117; } location ~ /jackett/(api|dl) { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_jackett jackett; - proxy_pass http://$upstream_jackett:9117; + set $upstream_app jackett; + proxy_pass http://$upstream_app:9117; } diff --git a/jellyfin.subdomain.conf.sample b/jellyfin.subdomain.conf.sample index 3d37bb11b..763da9153 100644 --- a/jellyfin.subdomain.conf.sample +++ b/jellyfin.subdomain.conf.sample @@ -1,6 +1,6 @@ # make sure that your dns has a cname set for jellyfin, if jellyfin is running in bridge mode, the below config should work as is, although, -# the container name is expected to be "jellyfin", if not, replace the lines "set $upstream_jellyfin jellyfin;" with "set $upstream_jellyfin ;" -# for host mode, replace the lines "proxy_pass http://$upstream_jellyfin:8096;" with "proxy_pass http://HOSTIP:8096;" HOSTIP being the IP address of jellyfin +# the container name is expected to be "jellyfin", if not, replace the lines "set $upstream_app jellyfin;" with "set $upstream_app ;" +# for host mode, replace the lines "proxy_pass http://$upstream_app:8096;" with "proxy_pass http://HOSTIP:8096;" HOSTIP being the IP address of jellyfin # in jellyfin settings, under "Advanced/Networking" change the public https port to 443, leave the local ports as is, # and set the "Secure connection mode" to "Handled by reverse proxy" @@ -17,8 +17,8 @@ server { location / { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_jellyfin jellyfin; - proxy_pass http://$upstream_jellyfin:8096; + set $upstream_app jellyfin; + proxy_pass http://$upstream_app:8096; proxy_set_header Range $http_range; proxy_set_header If-Range $http_if_range; @@ -27,8 +27,8 @@ server { location ~ (/jellyfin)?/socket { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_jellyfin jellyfin; - proxy_pass http://$upstream_jellyfin:8096; + set $upstream_app jellyfin; + proxy_pass http://$upstream_app:8096; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection $http_connection; diff --git a/jellyfin.subfolder.conf.sample b/jellyfin.subfolder.conf.sample index 14f41d729..2db81432f 100644 --- a/jellyfin.subfolder.conf.sample +++ b/jellyfin.subfolder.conf.sample @@ -1,6 +1,6 @@ # if jellyfin is running in bridge mode, the below config should work as is, although, the container name is expected to be "jellyfin", -# if not, replace the lines "set $upstream_jellyfin jellyfin;" with "set $upstream_jellyfin ;" -# for host mode, replace the lines "proxy_pass http://$upstream_jellyfin:8096;" with "proxy_pass http://HOSTIP:8096;" HOSTIP being the IP address of jellyfin +# if not, replace the lines "set $upstream_app jellyfin;" with "set $upstream_app ;" +# for host mode, replace the lines "proxy_pass http://$upstream_app:8096;" with "proxy_pass http://HOSTIP:8096;" HOSTIP being the IP address of jellyfin # in jellyfin settings, under "Advanced/Networking" change the public https port to 443, leave the local ports as is, set the base url to "/jellyfin", # and set the "Secure connection mode" to "Handled by reverse proxy" @@ -10,8 +10,8 @@ location /jellyfin { location ^~ /jellyfin/ { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_jellyfin jellyfin; - proxy_pass http://$upstream_jellyfin:8096; + set $upstream_app jellyfin; + proxy_pass http://$upstream_app:8096; proxy_set_header Range $http_range; proxy_set_header If-Range $http_if_range; diff --git a/jenkins.subfolder.conf.sample b/jenkins.subfolder.conf.sample index 359323908..9c3333574 100644 --- a/jenkins.subfolder.conf.sample +++ b/jenkins.subfolder.conf.sample @@ -24,6 +24,6 @@ location ^~ /jenkins/ { proxy_request_buffering off; proxy_buffering off; resolver 127.0.0.11 valid=30s; - set $upstream_jenkins jenkins; - proxy_pass http://$upstream_jenkins:8080; + set $upstream_app jenkins; + proxy_pass http://$upstream_app:8080; } \ No newline at end of file diff --git a/kanzi.subdomain.conf.sample b/kanzi.subdomain.conf.sample index 11560da45..e4784670b 100644 --- a/kanzi.subdomain.conf.sample +++ b/kanzi.subdomain.conf.sample @@ -24,7 +24,7 @@ server { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_kanzi kanzi; - proxy_pass https://$upstream_kanzi:8000; + set $upstream_app kanzi; + proxy_pass https://$upstream_app:8000; } } diff --git a/kanzi.subfolder.conf.sample b/kanzi.subfolder.conf.sample index 40582b228..2e3b585e2 100644 --- a/kanzi.subfolder.conf.sample +++ b/kanzi.subfolder.conf.sample @@ -14,7 +14,7 @@ location ^~ /kanzi/ { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_kanzi kanzi; + set $upstream_app kanzi; rewrite /kanzi(.*) $1 break; - proxy_pass https://$upstream_kanzi:8000; + proxy_pass https://$upstream_app:8000; } diff --git a/lazylibrarian.subdomain.conf.sample b/lazylibrarian.subdomain.conf.sample index 1494a45a2..c9d3a7720 100644 --- a/lazylibrarian.subdomain.conf.sample +++ b/lazylibrarian.subdomain.conf.sample @@ -24,7 +24,7 @@ server { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_lazylibrarian lazylibrarian; - proxy_pass http://$upstream_lazylibrarian:5299; + set $upstream_app lazylibrarian; + proxy_pass http://$upstream_app:5299; } } diff --git a/lazylibrarian.subfolder.conf.sample b/lazylibrarian.subfolder.conf.sample index 5a4a8c7dc..93f26d680 100644 --- a/lazylibrarian.subfolder.conf.sample +++ b/lazylibrarian.subfolder.conf.sample @@ -11,6 +11,6 @@ location ^~ /lazylibrarian { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_lazylibrarian lazylibrarian; - proxy_pass http://$upstream_lazylibrarian:5299; + set $upstream_app lazylibrarian; + proxy_pass http://$upstream_app:5299; } diff --git a/librespeed.subdomain.com.sample b/librespeed.subdomain.com.sample index 65836a64d..1fc43887c 100644 --- a/librespeed.subdomain.com.sample +++ b/librespeed.subdomain.com.sample @@ -24,7 +24,7 @@ server { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_librespeed librespeed; - proxy_pass http://$upstream_librespeed; + set $upstream_app librespeed; + proxy_pass http://$upstream_app; } } diff --git a/lidarr.subdomain.conf.sample b/lidarr.subdomain.conf.sample index b86f6b5c1..c982d731d 100644 --- a/lidarr.subdomain.conf.sample +++ b/lidarr.subdomain.conf.sample @@ -24,14 +24,14 @@ server { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_lidarr lidarr; - proxy_pass http://$upstream_lidarr:8686; + set $upstream_app lidarr; + proxy_pass http://$upstream_app:8686; } location ~ (/lidarr)?/api { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_lidarr lidarr; - proxy_pass http://$upstream_lidarr:8686; + set $upstream_app lidarr; + proxy_pass http://$upstream_app:8686; } } diff --git a/lidarr.subfolder.conf.sample b/lidarr.subfolder.conf.sample index 278310069..bd2e9bf9a 100644 --- a/lidarr.subfolder.conf.sample +++ b/lidarr.subfolder.conf.sample @@ -11,13 +11,13 @@ location ^~ /lidarr { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_lidarr lidarr; - proxy_pass http://$upstream_lidarr:8686; + set $upstream_app lidarr; + proxy_pass http://$upstream_app:8686; } location ^~ /lidarr/api { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_lidarr lidarr; - proxy_pass http://$upstream_lidarr:8686; + set $upstream_app lidarr; + proxy_pass http://$upstream_app:8686; } diff --git a/lychee.subdomain.conf.sample b/lychee.subdomain.conf.sample index 32a0584c7..1c2619165 100644 --- a/lychee.subdomain.conf.sample +++ b/lychee.subdomain.conf.sample @@ -24,7 +24,7 @@ server { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_lychee lychee; - proxy_pass http://$upstream_lychee; + set $upstream_app lychee; + proxy_pass http://$upstream_app; } } diff --git a/medusa.subdomain.conf.sample b/medusa.subdomain.conf.sample index 779e6bb06..452d0db87 100644 --- a/medusa.subdomain.conf.sample +++ b/medusa.subdomain.conf.sample @@ -26,7 +26,7 @@ server { proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; resolver 127.0.0.11 valid=30s; - set $upstream_medusa medusa; - proxy_pass http://$upstream_medusa:8081; + set $upstream_app medusa; + proxy_pass http://$upstream_app:8081; } } diff --git a/medusa.subfolder.conf.sample b/medusa.subfolder.conf.sample index 916770900..9010f6deb 100644 --- a/medusa.subfolder.conf.sample +++ b/medusa.subfolder.conf.sample @@ -13,6 +13,6 @@ location ^~ /medusa { proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; resolver 127.0.0.11 valid=30s; - set $upstream_medusa medusa; - proxy_pass http://$upstream_medusa:8081; + set $upstream_app medusa; + proxy_pass http://$upstream_app:8081; } diff --git a/monitorr.subdomain.conf.sample b/monitorr.subdomain.conf.sample index 771008941..fc5d9027b 100644 --- a/monitorr.subdomain.conf.sample +++ b/monitorr.subdomain.conf.sample @@ -24,7 +24,7 @@ server { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_monitorr monitorr; - proxy_pass http://$upstream_monitorr:80; + set $upstream_app monitorr; + proxy_pass http://$upstream_app:80; } } diff --git a/monitorr.subfolder.conf.sample b/monitorr.subfolder.conf.sample index 90d3d98d8..69e84bf6b 100644 --- a/monitorr.subfolder.conf.sample +++ b/monitorr.subfolder.conf.sample @@ -14,6 +14,6 @@ location ^~ /monitorr/ { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_monitorr monitorr; - proxy_pass http://$upstream_monitorr:80; + set $upstream_app monitorr; + proxy_pass http://$upstream_app:80; } diff --git a/mstream.subdomain.conf.sample b/mstream.subdomain.conf.sample index 56042de69..c6aa2e745 100644 --- a/mstream.subdomain.conf.sample +++ b/mstream.subdomain.conf.sample @@ -24,7 +24,7 @@ server { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_mstream mstream; - proxy_pass http://$upstream_mstream:3000; + set $upstream_app mstream; + proxy_pass http://$upstream_app:3000; } } diff --git a/mylar.subdomain.conf.sample b/mylar.subdomain.conf.sample index 29916a27f..9d001be3e 100644 --- a/mylar.subdomain.conf.sample +++ b/mylar.subdomain.conf.sample @@ -24,7 +24,7 @@ server { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_mylar mylar; - proxy_pass http://$upstream_mylar:8090; + set $upstream_app mylar; + proxy_pass http://$upstream_app:8090; } } diff --git a/mylar.subfolder.conf.sample b/mylar.subfolder.conf.sample index 72d0e700d..b35fb4400 100644 --- a/mylar.subfolder.conf.sample +++ b/mylar.subfolder.conf.sample @@ -11,6 +11,6 @@ location ^~ /mylar { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_mylar mylar; - proxy_pass http://$upstream_mylar:8090; + set $upstream_app mylar; + proxy_pass http://$upstream_app:8090; } diff --git a/mytinytodo.subfolder.conf.sample b/mytinytodo.subfolder.conf.sample index 9ad2a4442..39c65de62 100644 --- a/mytinytodo.subfolder.conf.sample +++ b/mytinytodo.subfolder.conf.sample @@ -16,6 +16,6 @@ location ^~ /todo/ { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_mytinytodo mytinytodo; - proxy_pass http://$upstream_mytinytodo:80/; + set $upstream_app mytinytodo; + proxy_pass http://$upstream_app:80/; } diff --git a/netdata.subdomain.conf.sample b/netdata.subdomain.conf.sample index a402dd693..75771911e 100644 --- a/netdata.subdomain.conf.sample +++ b/netdata.subdomain.conf.sample @@ -24,7 +24,7 @@ server { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_netdata netdata; - proxy_pass http://$upstream_netdata:19999; + set $upstream_app netdata; + proxy_pass http://$upstream_app:19999; } } diff --git a/netdata.subfolder.conf.sample b/netdata.subfolder.conf.sample index 59c3837bd..efc52ca27 100644 --- a/netdata.subfolder.conf.sample +++ b/netdata.subfolder.conf.sample @@ -14,7 +14,7 @@ location ^~ /netdata/ { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_netdata netdata; + set $upstream_app netdata; rewrite /netdata(.*) $1 break; - proxy_pass http://$upstream_netdata:19999; + proxy_pass http://$upstream_app:19999; } diff --git a/nextcloud.subdomain.conf.sample b/nextcloud.subdomain.conf.sample index 6ff353d34..1acf745f2 100644 --- a/nextcloud.subdomain.conf.sample +++ b/nextcloud.subdomain.conf.sample @@ -25,8 +25,8 @@ server { location / { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_nextcloud nextcloud; + set $upstream_app nextcloud; proxy_max_temp_file_size 2048m; - proxy_pass https://$upstream_nextcloud:443; + proxy_pass https://$upstream_app:443; } } diff --git a/nextcloud.subfolder.conf.sample b/nextcloud.subfolder.conf.sample index 3d42ef2b2..d16853dcc 100644 --- a/nextcloud.subfolder.conf.sample +++ b/nextcloud.subfolder.conf.sample @@ -26,9 +26,9 @@ location /nextcloud { location ^~ /nextcloud/ { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_nextcloud nextcloud; + set $upstream_app nextcloud; rewrite /nextcloud(.*) $1 break; - proxy_pass https://$upstream_nextcloud:443; + proxy_pass https://$upstream_app:443; proxy_max_temp_file_size 2048m; diff --git a/nzbget.subdomain.conf.sample b/nzbget.subdomain.conf.sample index a3f487220..cd3de0ce6 100644 --- a/nzbget.subdomain.conf.sample +++ b/nzbget.subdomain.conf.sample @@ -24,28 +24,28 @@ server { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_nzbget nzbget; - proxy_pass http://$upstream_nzbget:6789; + set $upstream_app nzbget; + proxy_pass http://$upstream_app:6789; } location ~ (/nzbget)?(/[^\/:]*:[^\/:]*)?/jsonrpc { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_nzbget nzbget; - proxy_pass http://$upstream_nzbget:6789; + set $upstream_app nzbget; + proxy_pass http://$upstream_app:6789; } location ~ (/nzbget)?(/[^\/:]*:[^\/]*)?/jsonprpc { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_nzbget nzbget; - proxy_pass http://$upstream_nzbget:6789; + set $upstream_app nzbget; + proxy_pass http://$upstream_app:6789; } location ~ (/nzbget)?(/[^\/:]*:[^\/]*)?/xmlrpc { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_nzbget nzbget; - proxy_pass http://$upstream_nzbget:6789; + set $upstream_app nzbget; + proxy_pass http://$upstream_app:6789; } } diff --git a/nzbget.subfolder.conf.sample b/nzbget.subfolder.conf.sample index fd17df6d1..c700f58fc 100644 --- a/nzbget.subfolder.conf.sample +++ b/nzbget.subfolder.conf.sample @@ -11,27 +11,27 @@ location /nzbget { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_nzbget nzbget; - proxy_pass http://$upstream_nzbget:6789; + set $upstream_app nzbget; + proxy_pass http://$upstream_app:6789; } location ~ /nzbget(/[^\/:]*:[^\/]*)?/jsonrpc { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_nzbget nzbget; - proxy_pass http://$upstream_nzbget:6789; + set $upstream_app nzbget; + proxy_pass http://$upstream_app:6789; } location ~ /nzbget(/[^\/:]*:[^\/]*)?/jsonprpc { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_nzbget nzbget; - proxy_pass http://$upstream_nzbget:6789; + set $upstream_app nzbget; + proxy_pass http://$upstream_app:6789; } location ~ /nzbget(/[^\/:]*:[^\/]*)?/xmlrpc { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_nzbget nzbget; - proxy_pass http://$upstream_nzbget:6789; + set $upstream_app nzbget; + proxy_pass http://$upstream_app:6789; } diff --git a/nzbhydra.subdomain.conf.sample b/nzbhydra.subdomain.conf.sample index cbca73a4d..536558e96 100644 --- a/nzbhydra.subdomain.conf.sample +++ b/nzbhydra.subdomain.conf.sample @@ -24,43 +24,43 @@ server { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_nzbhydra hydra2; - proxy_pass http://$upstream_nzbhydra:5076; + set $upstream_app hydra2; + proxy_pass http://$upstream_app:5076; } location ~ (/nzbhydra)?/api { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_nzbhydra hydra2; - proxy_pass http://$upstream_nzbhydra:5076; + set $upstream_app hydra2; + proxy_pass http://$upstream_app:5076; } location ~ (/nzbhydra)?/getnzb { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_nzbhydra hydra2; - proxy_pass http://$upstream_nzbhydra:5076; + set $upstream_app hydra2; + proxy_pass http://$upstream_app:5076; } location ~ (/nzbhydra)?/gettorrent { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_nzbhydra hydra2; - proxy_pass http://$upstream_nzbhydra:5076; + set $upstream_app hydra2; + proxy_pass http://$upstream_app:5076; } location ~ (/nzbhydra)?/rss { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_nzbhydra hydra2; - proxy_pass http://$upstream_nzbhydra:5076; + set $upstream_app hydra2; + proxy_pass http://$upstream_app:5076; } location ~ (/nzbhydra)?/torznab/api { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_nzbhydra hydra2; - proxy_pass http://$upstream_nzbhydra:5076; + set $upstream_app hydra2; + proxy_pass http://$upstream_app:5076; } } diff --git a/nzbhydra.subfolder.conf.sample b/nzbhydra.subfolder.conf.sample index cc36302fc..dc3abed15 100644 --- a/nzbhydra.subfolder.conf.sample +++ b/nzbhydra.subfolder.conf.sample @@ -11,41 +11,41 @@ location ^~ /nzbhydra { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_nzbhydra hydra2; - proxy_pass http://$upstream_nzbhydra:5076; + set $upstream_app hydra2; + proxy_pass http://$upstream_app:5076; } location ^~ /nzbhydra/api { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_nzbhydra hydra2; - proxy_pass http://$upstream_nzbhydra:5076; + set $upstream_app hydra2; + proxy_pass http://$upstream_app:5076; } location ^~ /nzbhydra/getnzb { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_nzbhydra hydra2; - proxy_pass http://$upstream_nzbhydra:5076; + set $upstream_app hydra2; + proxy_pass http://$upstream_app:5076; } location ^~ /nzbhydra/gettorrent { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_nzbhydra hydra2; - proxy_pass http://$upstream_nzbhydra:5076; + set $upstream_app hydra2; + proxy_pass http://$upstream_app:5076; } location ^~ /nzbhydra/rss { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_nzbhydra hydra2; - proxy_pass http://$upstream_nzbhydra:5076; + set $upstream_app hydra2; + proxy_pass http://$upstream_app:5076; } location ^~ /nzbhydra/torznab/api { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_nzbhydra hydra2; - proxy_pass http://$upstream_nzbhydra:5076; + set $upstream_app hydra2; + proxy_pass http://$upstream_app:5076; } diff --git a/ombi.subdomain.conf.sample b/ombi.subdomain.conf.sample index 347af40f8..e6b71e119 100644 --- a/ombi.subdomain.conf.sample +++ b/ombi.subdomain.conf.sample @@ -24,24 +24,24 @@ server { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_ombi ombi; - proxy_pass http://$upstream_ombi:3579; + set $upstream_app ombi; + proxy_pass http://$upstream_app:3579; } # This allows access to the actual api location ~ (/ombi)?/api { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_ombi ombi; - proxy_pass http://$upstream_ombi:3579; + set $upstream_app ombi; + proxy_pass http://$upstream_app:3579; } # This allows access to the documentation for the api location ~ (/ombi)?/swagger { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_ombi ombi; - proxy_pass http://$upstream_ombi:3579; + set $upstream_app ombi; + proxy_pass http://$upstream_app:3579; } if ($http_referer ~* /ombi) { rewrite ^/swagger/(.*) /ombi/swagger/$1? redirect; diff --git a/ombi.subfolder.conf.sample b/ombi.subfolder.conf.sample index 7fb8557df..4c0231420 100644 --- a/ombi.subfolder.conf.sample +++ b/ombi.subfolder.conf.sample @@ -15,16 +15,16 @@ location ^~ /ombi/ { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_ombi ombi; - proxy_pass http://$upstream_ombi:3579; + set $upstream_app ombi; + proxy_pass http://$upstream_app:3579; } # This allows access to the actual api location ^~ /ombi/api { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_ombi ombi; - proxy_pass http://$upstream_ombi:3579; + set $upstream_app ombi; + proxy_pass http://$upstream_app:3579; } if ($http_referer ~* /ombi) { rewrite ^/api/(.*) /ombi/api/$1? redirect; @@ -34,8 +34,8 @@ if ($http_referer ~* /ombi) { location ^~ /ombi/swagger { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_ombi ombi; - proxy_pass http://$upstream_ombi:3579; + set $upstream_app ombi; + proxy_pass http://$upstream_app:3579; } if ($http_referer ~* /ombi) { rewrite ^/swagger/(.*) /ombi/swagger/$1? redirect; diff --git a/openvpn-as.subdomain.conf.sample b/openvpn-as.subdomain.conf.sample index 524cb12a5..5be12156b 100644 --- a/openvpn-as.subdomain.conf.sample +++ b/openvpn-as.subdomain.conf.sample @@ -24,8 +24,8 @@ server { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_ovpn openvpn-as; - proxy_pass https://$upstream_ovpn:943; + set $upstream_app openvpn-as; + proxy_pass https://$upstream_app:943; } @@ -40,7 +40,7 @@ server { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_ovpn openvpn-as; - proxy_pass https://$upstream_ovpn:943; + set $upstream_app openvpn-as; + proxy_pass https://$upstream_app:943; } } diff --git a/organizr-auth.subfolder.conf.sample b/organizr-auth.subfolder.conf.sample index 849b26406..3bb22dad3 100644 --- a/organizr-auth.subfolder.conf.sample +++ b/organizr-auth.subfolder.conf.sample @@ -17,8 +17,8 @@ location ~ /auth-([0-9]+) { internal; include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_organizr organizr; - proxy_pass http://$upstream_organizr:80/api/?v1/auth&group=$1; + set $upstream_app organizr; + proxy_pass http://$upstream_app:80/api/?v1/auth&group=$1; proxy_set_header Content-Length ""; # Do not uncomment the lines below, these are examples for usue in other proxy configs diff --git a/organizr.subdomain.conf.sample b/organizr.subdomain.conf.sample index 496af3209..78b95a533 100644 --- a/organizr.subdomain.conf.sample +++ b/organizr.subdomain.conf.sample @@ -24,8 +24,8 @@ server { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_organizr organizr; - proxy_pass http://$upstream_organizr:80; + set $upstream_app organizr; + proxy_pass http://$upstream_app:80; } # Optional redirect server errors to organizr error pages diff --git a/organizr.subfolder.conf.sample b/organizr.subfolder.conf.sample index 4cad9f27e..11df71c3f 100644 --- a/organizr.subfolder.conf.sample +++ b/organizr.subfolder.conf.sample @@ -11,8 +11,8 @@ location / { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_organizr organizr; - proxy_pass http://$upstream_organizr:80; + set $upstream_app organizr; + proxy_pass http://$upstream_app:80; } # Optional redirect server errors to organizr error pages diff --git a/osticket.subdomain.conf.sample b/osticket.subdomain.conf.sample index a74de4098..e2ef2d5b6 100644 --- a/osticket.subdomain.conf.sample +++ b/osticket.subdomain.conf.sample @@ -24,7 +24,7 @@ server { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_osticket osticket; - proxy_pass http://$upstream_osticket:80; + set $upstream_app osticket; + proxy_pass http://$upstream_app:80; } } diff --git a/phpmyadmin.subdomain.conf.sample b/phpmyadmin.subdomain.conf.sample index 97fa1f637..623f29fa7 100644 --- a/phpmyadmin.subdomain.conf.sample +++ b/phpmyadmin.subdomain.conf.sample @@ -24,7 +24,7 @@ server { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_phpmyadmin phpmyadmin; - proxy_pass http://$upstream_phpmyadmin:80; + set $upstream_app phpmyadmin; + proxy_pass http://$upstream_app:80; } } diff --git a/phpmyadmin.subfolder.conf.sample b/phpmyadmin.subfolder.conf.sample index 22e2b430f..727f35c66 100644 --- a/phpmyadmin.subfolder.conf.sample +++ b/phpmyadmin.subfolder.conf.sample @@ -14,7 +14,7 @@ location ^~ /phpmyadmin/ { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_phpmyadmin phpmyadmin; + set $upstream_app phpmyadmin; rewrite /phpmyadmin(.*) $1 break; - proxy_pass http://$upstream_phpmyadmin:80; + proxy_pass http://$upstream_app:80; } diff --git a/pihole.subdomain.conf.sample b/pihole.subdomain.conf.sample index 084edc57b..5b0ecd642 100644 --- a/pihole.subdomain.conf.sample +++ b/pihole.subdomain.conf.sample @@ -24,8 +24,8 @@ server { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_pihole pihole; - proxy_pass http://$upstream_pihole:80; + set $upstream_app pihole; + proxy_pass http://$upstream_app:80; proxy_hide_header X-Frame-Options; } @@ -40,8 +40,8 @@ server { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_pihole pihole; - proxy_pass http://$upstream_pihole:80; + set $upstream_app pihole; + proxy_pass http://$upstream_app:80; proxy_hide_header X-Frame-Options; } } diff --git a/pihole.subfolder.conf.sample b/pihole.subfolder.conf.sample index 88b7ecbae..b1b399a14 100644 --- a/pihole.subfolder.conf.sample +++ b/pihole.subfolder.conf.sample @@ -14,9 +14,9 @@ location ^~ /pihole/ { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_pihole pihole; + set $upstream_app pihole; rewrite /pihole(.*) $1 break; - proxy_pass http://$upstream_pihole:80; + proxy_pass http://$upstream_app:80; proxy_hide_header X-Frame-Options; } @@ -34,8 +34,8 @@ location ^~ /pihole/admin/ { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_pihole pihole; + set $upstream_app pihole; rewrite /pihole(.*) $1 break; - proxy_pass http://$upstream_pihole:80; + proxy_pass http://$upstream_app:80; proxy_hide_header X-Frame-Options; } diff --git a/piwigo.subdomain.conf.sample b/piwigo.subdomain.conf.sample index b7e4a009d..71585c2b9 100644 --- a/piwigo.subdomain.conf.sample +++ b/piwigo.subdomain.conf.sample @@ -24,7 +24,7 @@ server { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_piwigo piwigo; - proxy_pass http://$upstream_piwigo; + set $upstream_app piwigo; + proxy_pass http://$upstream_app; } } diff --git a/plex.subdomain.conf.sample b/plex.subdomain.conf.sample index 154cd5c1b..89330bfae 100644 --- a/plex.subdomain.conf.sample +++ b/plex.subdomain.conf.sample @@ -1,5 +1,5 @@ # make sure that your dns has a cname set for plex, if plex is running in bridge mode, the below config should work as is, for host mode, -# replace the line "proxy_pass http://$upstream_plex:32400;" with "proxy_pass http://HOSTIP:32400;" HOSTIP being the IP address of plex +# replace the line "proxy_pass http://$upstream_app:32400;" with "proxy_pass http://HOSTIP:32400;" HOSTIP being the IP address of plex # in plex server settings, under network, fill in "Custom server access URLs" with your domain (ie. "https://plex.yourdomain.url:443") server { @@ -29,8 +29,8 @@ server { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_plex plex; - proxy_pass http://$upstream_plex:32400; + set $upstream_app plex; + proxy_pass http://$upstream_app:32400; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; diff --git a/plex.subfolder.conf.sample b/plex.subfolder.conf.sample index ac3546776..7fbafc717 100644 --- a/plex.subfolder.conf.sample +++ b/plex.subfolder.conf.sample @@ -3,7 +3,7 @@ # plex does not require a base url setting # if plex is running in bridge mode, the below config should work as is. -# for host mode, replace the line "proxy_pass http://$upstream_plex:32400;" with "proxy_pass http://HOSTIP:32400;" HOSTIP being the IP address of plex +# for host mode, replace the line "proxy_pass http://$upstream_app:32400;" with "proxy_pass http://HOSTIP:32400;" HOSTIP being the IP address of plex # in plex server settings, under network, fill in "Custom server access URLs" with your domain (ie. "https://yourdomain.url:443/plex") location /plex { @@ -20,9 +20,9 @@ location ^~ /plex/ { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_plex plex; + set $upstream_app plex; rewrite /plex(.*) $1 break; - proxy_pass http://$upstream_plex:32400; + proxy_pass http://$upstream_app:32400; proxy_set_header X-Plex-Client-Identifier $http_x_plex_client_identifier; proxy_set_header X-Plex-Device $http_x_plex_device; diff --git a/plexwebtools.subdomain.conf.sample b/plexwebtools.subdomain.conf.sample index 3d9754e82..c740c4648 100644 --- a/plexwebtools.subdomain.conf.sample +++ b/plexwebtools.subdomain.conf.sample @@ -24,7 +24,7 @@ server { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_plex plex; - proxy_pass http://$upstream_plex:33400; + set $upstream_app plex; + proxy_pass http://$upstream_app:33400; } } diff --git a/plexwebtools.subfolder.conf.sample b/plexwebtools.subfolder.conf.sample index 87ecfc8f9..08da7c3de 100644 --- a/plexwebtools.subfolder.conf.sample +++ b/plexwebtools.subfolder.conf.sample @@ -14,6 +14,6 @@ location ^~ /plexwebtools/ { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_plex plex; - proxy_pass http://$upstream_plex:33400; + set $upstream_app plex; + proxy_pass http://$upstream_app:33400; } diff --git a/portainer.subdomain.conf.sample b/portainer.subdomain.conf.sample index d4d4588ec..93d354c17 100644 --- a/portainer.subdomain.conf.sample +++ b/portainer.subdomain.conf.sample @@ -23,8 +23,8 @@ server { #error_page 401 =200 /login; resolver 127.0.0.11 valid=30s; - set $upstream_portainer portainer; - proxy_pass http://$upstream_portainer:9000; + set $upstream_app portainer; + proxy_pass http://$upstream_app:9000; proxy_set_header Connection ""; proxy_http_version 1.1; proxy_hide_header X-Frame-Options; # Possibly nott needed after Portainer 1.20.0 @@ -40,8 +40,8 @@ server { #error_page 401 =200 /login; resolver 127.0.0.11 valid=30s; - set $upstream_portainer portainer; - proxy_pass http://$upstream_portainer:9000; + set $upstream_app portainer; + proxy_pass http://$upstream_app:9000; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; proxy_http_version 1.1; diff --git a/portainer.subfolder.conf.sample b/portainer.subfolder.conf.sample index 39ca4d640..bbfbd81bf 100644 --- a/portainer.subfolder.conf.sample +++ b/portainer.subfolder.conf.sample @@ -14,18 +14,18 @@ location ^~ /portainer/ { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_portainer portainer; + set $upstream_app portainer; rewrite /portainer(.*) $1 break; - proxy_pass http://$upstream_portainer:9000; + proxy_pass http://$upstream_app:9000; proxy_hide_header X-Frame-Options; # Possibly nott needed after Portainer 1.20.0 } location ^~ /portainer/api/websocket/ { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_portainer portainer; + set $upstream_app portainer; rewrite /portainer(.*) $1 break; - proxy_pass http://$upstream_portainer:9000; + proxy_pass http://$upstream_app:9000; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; proxy_hide_header X-Frame-Options; # Possibly nott needed after Portainer 1.20.0 diff --git a/prometheus.subdomain.conf.sample b/prometheus.subdomain.conf.sample index 77d082a0e..8f856a95f 100644 --- a/prometheus.subdomain.conf.sample +++ b/prometheus.subdomain.conf.sample @@ -24,7 +24,7 @@ server { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_prometheus prometheus; - proxy_pass http://$upstream_prometheus:9090; + set $upstream_app prometheus; + proxy_pass http://$upstream_app:9090; } } diff --git a/pydio.subdomain.conf.sample b/pydio.subdomain.conf.sample index 846127d9a..c780ba345 100644 --- a/pydio.subdomain.conf.sample +++ b/pydio.subdomain.conf.sample @@ -24,7 +24,7 @@ server { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_pydio pydio; - proxy_pass https://$upstream_pydio:443; + set $upstream_app pydio; + proxy_pass https://$upstream_app:443; } } diff --git a/pyload.subdomain.conf.sample b/pyload.subdomain.conf.sample index 6ca0f8432..3fdfc4ac9 100644 --- a/pyload.subdomain.conf.sample +++ b/pyload.subdomain.conf.sample @@ -24,7 +24,7 @@ server { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_pyload pyload; - proxy_pass http://$upstream_pyload:8000; + set $upstream_app pyload; + proxy_pass http://$upstream_app:8000; } } diff --git a/qbittorrent.subdomain.conf.sample b/qbittorrent.subdomain.conf.sample index f003f37fe..cad5eaa0c 100644 --- a/qbittorrent.subdomain.conf.sample +++ b/qbittorrent.subdomain.conf.sample @@ -24,65 +24,65 @@ server { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_qbittorrent qbittorrent; - proxy_pass http://$upstream_qbittorrent:8080; + set $upstream_app qbittorrent; + proxy_pass http://$upstream_app:8080; proxy_set_header Referer ''; - proxy_set_header Host $upstream_qbittorrent:8080; + proxy_set_header Host $upstream_app:8080; } location ^~ /qbittorrent/api { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_qbittorrent qbittorrent; + set $upstream_app qbittorrent; rewrite /qbittorrent(.*) $1 break; - proxy_pass http://$upstream_qbittorrent:8080; + proxy_pass http://$upstream_app:8080; proxy_set_header Referer ''; - proxy_set_header Host $upstream_qbittorrent:8080; + proxy_set_header Host $upstream_app:8080; } location ^~ /qbittorrent/command { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_qbittorrent qbittorrent; + set $upstream_app qbittorrent; rewrite /qbittorrent(.*) $1 break; - proxy_pass http://$upstream_qbittorrent:8080; + proxy_pass http://$upstream_app:8080; proxy_set_header Referer ''; - proxy_set_header Host $upstream_qbittorrent:8080; + proxy_set_header Host $upstream_app:8080; } location ^~ /qbittorrent/query { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_qbittorrent qbittorrent; + set $upstream_app qbittorrent; rewrite /qbittorrent(.*) $1 break; - proxy_pass http://$upstream_qbittorrent:8080; + proxy_pass http://$upstream_app:8080; proxy_set_header Referer ''; - proxy_set_header Host $upstream_qbittorrent:8080; + proxy_set_header Host $upstream_app:8080; } location ^~ /qbittorrent/login { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_qbittorrent qbittorrent; + set $upstream_app qbittorrent; rewrite /qbittorrent(.*) $1 break; - proxy_pass http://$upstream_qbittorrent:8080; + proxy_pass http://$upstream_app:8080; proxy_set_header Referer ''; - proxy_set_header Host $upstream_qbittorrent:8080; + proxy_set_header Host $upstream_app:8080; } location ^~ /qbittorrent/sync { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_qbittorrent qbittorrent; + set $upstream_app qbittorrent; rewrite /qbittorrent(.*) $1 break; - proxy_pass http://$upstream_qbittorrent:8080; + proxy_pass http://$upstream_app:8080; proxy_set_header Referer ''; - proxy_set_header Host $upstream_qbittorrent:8080; + proxy_set_header Host $upstream_app:8080; } } diff --git a/qbittorrent.subfolder.conf.sample b/qbittorrent.subfolder.conf.sample index 3799d6bfe..1c97b027f 100644 --- a/qbittorrent.subfolder.conf.sample +++ b/qbittorrent.subfolder.conf.sample @@ -14,65 +14,65 @@ location ^~ /qbittorrent/ { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_qbittorrent qbittorrent; + set $upstream_app qbittorrent; rewrite /qbittorrent(.*) $1 break; - proxy_pass http://$upstream_qbittorrent:8080; + proxy_pass http://$upstream_app:8080; proxy_set_header Referer ''; - proxy_set_header Host $upstream_qbittorrent:8080; + proxy_set_header Host $upstream_app:8080; } location ^~ /qbittorrent/api { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_qbittorrent qbittorrent; + set $upstream_app qbittorrent; rewrite /qbittorrent(.*) $1 break; - proxy_pass http://$upstream_qbittorrent:8080; + proxy_pass http://$upstream_app:8080; proxy_set_header Referer ''; - proxy_set_header Host $upstream_qbittorrent:8080; + proxy_set_header Host $upstream_app:8080; } location ^~ /qbittorrent/command { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_qbittorrent qbittorrent; + set $upstream_app qbittorrent; rewrite /qbittorrent(.*) $1 break; - proxy_pass http://$upstream_qbittorrent:8080; + proxy_pass http://$upstream_app:8080; proxy_set_header Referer ''; - proxy_set_header Host $upstream_qbittorrent:8080; + proxy_set_header Host $upstream_app:8080; } location ^~ /qbittorrent/query { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_qbittorrent qbittorrent; + set $upstream_app qbittorrent; rewrite /qbittorrent(.*) $1 break; - proxy_pass http://$upstream_qbittorrent:8080; + proxy_pass http://$upstream_app:8080; proxy_set_header Referer ''; - proxy_set_header Host $upstream_qbittorrent:8080; + proxy_set_header Host $upstream_app:8080; } location ^~ /qbittorrent/login { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_qbittorrent qbittorrent; + set $upstream_app qbittorrent; rewrite /qbittorrent(.*) $1 break; - proxy_pass http://$upstream_qbittorrent:8080; + proxy_pass http://$upstream_app:8080; proxy_set_header Referer ''; - proxy_set_header Host $upstream_qbittorrent:8080; + proxy_set_header Host $upstream_app:8080; } location ^~ /qbittorrent/sync { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_qbittorrent qbittorrent; + set $upstream_app qbittorrent; rewrite /qbittorrent(.*) $1 break; - proxy_pass http://$upstream_qbittorrent:8080; + proxy_pass http://$upstream_app:8080; proxy_set_header Referer ''; - proxy_set_header Host $upstream_qbittorrent:8080; + proxy_set_header Host $upstream_app:8080; } diff --git a/quassel-web.subdomain.conf.sample b/quassel-web.subdomain.conf.sample index 3de62207c..ff71b0738 100644 --- a/quassel-web.subdomain.conf.sample +++ b/quassel-web.subdomain.conf.sample @@ -25,7 +25,7 @@ server { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_quassel_web quassel-web; - proxy_pass http://$upstream_quassel_web:64080; + set $upstream_app quassel-web; + proxy_pass http://$upstream_app:64080; } } diff --git a/quassel-web.subfolder.conf.sample b/quassel-web.subfolder.conf.sample index 1e0b74bcb..95bc32fa6 100644 --- a/quassel-web.subfolder.conf.sample +++ b/quassel-web.subfolder.conf.sample @@ -12,6 +12,6 @@ location ^~ /quassel { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_quassel_web quassel-web; - proxy_pass http://$upstream_quassel_web:64080; + set $upstream_app quassel-web; + proxy_pass http://$upstream_app:64080; } diff --git a/radarr.subdomain.conf.sample b/radarr.subdomain.conf.sample index 6220e09a1..9d65e769c 100644 --- a/radarr.subdomain.conf.sample +++ b/radarr.subdomain.conf.sample @@ -24,14 +24,14 @@ server { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_radarr radarr; - proxy_pass http://$upstream_radarr:7878; + set $upstream_app radarr; + proxy_pass http://$upstream_app:7878; } location ~ (/radarr)?/api { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_radarr radarr; - proxy_pass http://$upstream_radarr:7878; + set $upstream_app radarr; + proxy_pass http://$upstream_app:7878; } } diff --git a/radarr.subfolder.conf.sample b/radarr.subfolder.conf.sample index 54ac4560d..bd9073ae2 100644 --- a/radarr.subfolder.conf.sample +++ b/radarr.subfolder.conf.sample @@ -11,13 +11,13 @@ location ^~ /radarr { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_radarr radarr; - proxy_pass http://$upstream_radarr:7878; + set $upstream_app radarr; + proxy_pass http://$upstream_app:7878; } location ^~ /radarr/api { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_radarr radarr; - proxy_pass http://$upstream_radarr:7878; + set $upstream_app radarr; + proxy_pass http://$upstream_app:7878; } diff --git a/raneto.subdomain.conf.sample b/raneto.subdomain.conf.sample index ff034049f..0bf8a7c63 100644 --- a/raneto.subdomain.conf.sample +++ b/raneto.subdomain.conf.sample @@ -23,7 +23,7 @@ server { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_raneto raneto; - proxy_pass http://$upstream_raneto:3000; + set $upstream_app raneto; + proxy_pass http://$upstream_app:3000; } } \ No newline at end of file diff --git a/resilio-sync.subdomain.conf.sample b/resilio-sync.subdomain.conf.sample index 9b4d4eb38..89f7a1e3c 100644 --- a/resilio-sync.subdomain.conf.sample +++ b/resilio-sync.subdomain.conf.sample @@ -24,7 +24,7 @@ server { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_resiliosync resilio-sync; - proxy_pass http://$upstream_resiliosync:8888; + set $upstream_app resilio-sync; + proxy_pass http://$upstream_app:8888; } } diff --git a/rutorrent.subdomain.conf.sample b/rutorrent.subdomain.conf.sample index 78f5446c9..93caeb504 100644 --- a/rutorrent.subdomain.conf.sample +++ b/rutorrent.subdomain.conf.sample @@ -24,14 +24,14 @@ server { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_rutorrent rutorrent; - proxy_pass http://$upstream_rutorrent:80; + set $upstream_app rutorrent; + proxy_pass http://$upstream_app:80; } location /RPC2 { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_rutorrent rutorrent; - proxy_pass http://$upstream_rutorrent:80; + set $upstream_app rutorrent; + proxy_pass http://$upstream_app:80; } } diff --git a/rutorrent.subfolder.conf.sample b/rutorrent.subfolder.conf.sample index ced06004b..7ba390181 100644 --- a/rutorrent.subfolder.conf.sample +++ b/rutorrent.subfolder.conf.sample @@ -14,15 +14,15 @@ location ^~ /rutorrent/ { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_rutorrent rutorrent; + set $upstream_app rutorrent; rewrite /rutorrent(.*) $1 break; - proxy_pass http://$upstream_rutorrent:80; + proxy_pass http://$upstream_app:80; } location ^~ /rutorrent/RPC2 { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_rutorrent rutorrent; + set $upstream_app rutorrent; rewrite /rutorrent(.*) $1 break; - proxy_pass http://$upstream_rutorrent:80; + proxy_pass http://$upstream_app:80; } diff --git a/sabnzbd.subdomain.conf.sample b/sabnzbd.subdomain.conf.sample index 1de40cc9b..38b7fd502 100644 --- a/sabnzbd.subdomain.conf.sample +++ b/sabnzbd.subdomain.conf.sample @@ -26,14 +26,14 @@ server { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_sabnzbd sabnzbd; - proxy_pass http://$upstream_sabnzbd:8080; + set $upstream_app sabnzbd; + proxy_pass http://$upstream_app:8080; } location ~ (/sabnzbd)?/api { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_sabnzbd sabnzbd; - proxy_pass http://$upstream_sabnzbd:8080; + set $upstream_app sabnzbd; + proxy_pass http://$upstream_app:8080; } } diff --git a/sabnzbd.subfolder.conf.sample b/sabnzbd.subfolder.conf.sample index 8648d1208..14cb9a812 100644 --- a/sabnzbd.subfolder.conf.sample +++ b/sabnzbd.subfolder.conf.sample @@ -11,13 +11,13 @@ location ^~ /sabnzbd { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_sabnzbd sabnzbd; - proxy_pass http://$upstream_sabnzbd:8080; + set $upstream_app sabnzbd; + proxy_pass http://$upstream_app:8080; } location ^~ /sabnzbd/api { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_sabnzbd sabnzbd; - proxy_pass http://$upstream_sabnzbd:8080; + set $upstream_app sabnzbd; + proxy_pass http://$upstream_app:8080; } diff --git a/scope.subfolder.conf.sample b/scope.subfolder.conf.sample index 193c35abf..24fe4e62d 100644 --- a/scope.subfolder.conf.sample +++ b/scope.subfolder.conf.sample @@ -14,9 +14,9 @@ location ^~ /scope/ { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_scope scope; + set $upstream_app scope; rewrite /scope(.*) $1 break; - proxy_pass http://$upstream_scope:4040; + proxy_pass http://$upstream_app:4040; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; } \ No newline at end of file diff --git a/sickrage.subdomain.conf.sample b/sickrage.subdomain.conf.sample index c9e080348..d468ad72a 100644 --- a/sickrage.subdomain.conf.sample +++ b/sickrage.subdomain.conf.sample @@ -24,7 +24,7 @@ server { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_sickrage sickrage; - proxy_pass http://$upstream_sickrage:8081; + set $upstream_app sickrage; + proxy_pass http://$upstream_app:8081; } } diff --git a/sickrage.subfolder.conf.sample b/sickrage.subfolder.conf.sample index 44afad695..eecc90a39 100644 --- a/sickrage.subfolder.conf.sample +++ b/sickrage.subfolder.conf.sample @@ -11,6 +11,6 @@ location ^~ /sickrage { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_sickrage sickrage; - proxy_pass http://$upstream_sickrage:8081; + set $upstream_app sickrage; + proxy_pass http://$upstream_app:8081; } diff --git a/smokeping.subdomain.conf.sample b/smokeping.subdomain.conf.sample index f9c6e0213..d14659bf4 100644 --- a/smokeping.subdomain.conf.sample +++ b/smokeping.subdomain.conf.sample @@ -24,7 +24,7 @@ server { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_smokeping smokeping; - proxy_pass http://$upstream_smokeping; + set $upstream_app smokeping; + proxy_pass http://$upstream_app; } } diff --git a/smokeping.subfolder.conf.sample b/smokeping.subfolder.conf.sample index 28d95bab3..3ff68aa57 100644 --- a/smokeping.subfolder.conf.sample +++ b/smokeping.subfolder.conf.sample @@ -11,6 +11,6 @@ location ^~ /smokeping { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_smokeping smokeping; - proxy_pass http://$upstream_smokeping; + set $upstream_app smokeping; + proxy_pass http://$upstream_app; } diff --git a/sonarr.subdomain.conf.sample b/sonarr.subdomain.conf.sample index 0b25d5cad..780020929 100644 --- a/sonarr.subdomain.conf.sample +++ b/sonarr.subdomain.conf.sample @@ -24,14 +24,14 @@ server { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_sonarr sonarr; - proxy_pass http://$upstream_sonarr:8989; + set $upstream_app sonarr; + proxy_pass http://$upstream_app:8989; } location ~ (/sonarr)?/api { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_sonarr sonarr; - proxy_pass http://$upstream_sonarr:8989; + set $upstream_app sonarr; + proxy_pass http://$upstream_app:8989; } } diff --git a/sonarr.subfolder.conf.sample b/sonarr.subfolder.conf.sample index 1ef6f8ca4..30cc50a9e 100644 --- a/sonarr.subfolder.conf.sample +++ b/sonarr.subfolder.conf.sample @@ -11,13 +11,13 @@ location ^~ /sonarr { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_sonarr sonarr; - proxy_pass http://$upstream_sonarr:8989; + set $upstream_app sonarr; + proxy_pass http://$upstream_app:8989; } location ^~ /sonarr/api { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_sonarr sonarr; - proxy_pass http://$upstream_sonarr:8989; + set $upstream_app sonarr; + proxy_pass http://$upstream_app:8989; } diff --git a/statping.subdomain.conf.sample b/statping.subdomain.conf.sample index f2a78b632..43a4280fc 100644 --- a/statping.subdomain.conf.sample +++ b/statping.subdomain.conf.sample @@ -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; } } diff --git a/syncthing.subdomain.conf.sample b/syncthing.subdomain.conf.sample index 1bbe105b3..ba8070233 100644 --- a/syncthing.subdomain.conf.sample +++ b/syncthing.subdomain.conf.sample @@ -24,7 +24,7 @@ server { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_syncthing syncthing; - proxy_pass http://$upstream_syncthing:8384; + set $upstream_app syncthing; + proxy_pass http://$upstream_app:8384; } } diff --git a/taisun.subdomain.conf.sample b/taisun.subdomain.conf.sample index 064f0a0d3..7e1b51c8c 100644 --- a/taisun.subdomain.conf.sample +++ b/taisun.subdomain.conf.sample @@ -24,8 +24,8 @@ server { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_taisun taisun; - proxy_pass http://$upstream_taisun:3000; + set $upstream_app taisun; + proxy_pass http://$upstream_app:3000; proxy_buffering off; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection $http_connection; diff --git a/tautulli.subdomain.conf.sample b/tautulli.subdomain.conf.sample index d8f03599e..0b1591271 100644 --- a/tautulli.subdomain.conf.sample +++ b/tautulli.subdomain.conf.sample @@ -24,14 +24,14 @@ server { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_tautulli tautulli; - proxy_pass http://$upstream_tautulli:8181; + set $upstream_app tautulli; + proxy_pass http://$upstream_app:8181; } location ~ (/tautulli)?/api { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_tautulli tautulli; - proxy_pass http://$upstream_tautulli:8181; + set $upstream_app tautulli; + proxy_pass http://$upstream_app:8181; } } diff --git a/tautulli.subfolder.conf.sample b/tautulli.subfolder.conf.sample index b64cf12fc..814ed0806 100644 --- a/tautulli.subfolder.conf.sample +++ b/tautulli.subfolder.conf.sample @@ -11,13 +11,13 @@ location ^~ /tautulli { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_tautulli tautulli; - proxy_pass http://$upstream_tautulli:8181; + set $upstream_app tautulli; + proxy_pass http://$upstream_app:8181; } location ^~ /tautulli/api { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_tautulli tautulli; - proxy_pass http://$upstream_tautulli:8181; + set $upstream_app tautulli; + proxy_pass http://$upstream_app:8181; } diff --git a/tdarr.subdomain.conf.sample b/tdarr.subdomain.conf.sample index f76faf2cf..d22aa71a4 100644 --- a/tdarr.subdomain.conf.sample +++ b/tdarr.subdomain.conf.sample @@ -24,7 +24,7 @@ server { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_tdarr tdarr; - proxy_pass http://$upstream_tdarr:8265; + set $upstream_app tdarr; + proxy_pass http://$upstream_app:8265; } } diff --git a/thelounge.subdomain.conf.sample b/thelounge.subdomain.conf.sample index 2e572810c..e3dbf89bf 100644 --- a/thelounge.subdomain.conf.sample +++ b/thelounge.subdomain.conf.sample @@ -24,7 +24,7 @@ server { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_thelounge thelounge; - proxy_pass http://$upstream_thelounge:9000; + set $upstream_app thelounge; + proxy_pass http://$upstream_app:9000; } } diff --git a/thelounge.subfolder.conf.sample b/thelounge.subfolder.conf.sample index bca21e48d..b1c048a5b 100644 --- a/thelounge.subfolder.conf.sample +++ b/thelounge.subfolder.conf.sample @@ -14,7 +14,7 @@ location ^~ /thelounge/ { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_thelounge thelounge; + set $upstream_app thelounge; rewrite /thelounge(.*) $1 break; - proxy_pass http://$upstream_thelounge:9000; + proxy_pass http://$upstream_app:9000; } diff --git a/transmission.subdomain.conf.sample b/transmission.subdomain.conf.sample index 7007f09d1..7839550d1 100644 --- a/transmission.subdomain.conf.sample +++ b/transmission.subdomain.conf.sample @@ -24,15 +24,15 @@ server { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_transmission transmission; + set $upstream_app transmission; proxy_pass_header X-Transmission-Session-Id; - proxy_pass http://$upstream_transmission:9091; + proxy_pass http://$upstream_app:9091; } location ~ (/transmission)?/rpc { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_transmission transmission; - proxy_pass http://$upstream_transmission:9091; + set $upstream_app transmission; + proxy_pass http://$upstream_app:9091; } } diff --git a/transmission.subfolder.conf.sample b/transmission.subfolder.conf.sample index 504c48e57..1c1ab2889 100644 --- a/transmission.subfolder.conf.sample +++ b/transmission.subfolder.conf.sample @@ -11,14 +11,14 @@ location ^~ /transmission { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_transmission transmission; + set $upstream_app transmission; proxy_pass_header X-Transmission-Session-Id; - proxy_pass http://$upstream_transmission:9091; + proxy_pass http://$upstream_app:9091; } location ^~ /transmission/rpc { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_transmission transmission; - proxy_pass http://$upstream_transmission:9091; + set $upstream_app transmission; + proxy_pass http://$upstream_app:9091; } diff --git a/tt-rss.subdomain.conf.sample b/tt-rss.subdomain.conf.sample index 3f7b35869..9d6ab3666 100644 --- a/tt-rss.subdomain.conf.sample +++ b/tt-rss.subdomain.conf.sample @@ -24,9 +24,9 @@ server { #error_page 401 =200 /login; resolver 127.0.0.11 valid=30s; - set $upstream_tt_rss tt-rss; - proxy_pass http://$upstream_tt_rss:80; - proxy_redirect http://$upstream_tt_rss:80 /; + set $upstream_app tt-rss; + proxy_pass http://$upstream_app:80; + proxy_redirect http://$upstream_app:80 /; proxy_read_timeout 60s; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; diff --git a/ubooquity.subdomain.conf.sample b/ubooquity.subdomain.conf.sample index 9216adeb5..caf91a066 100644 --- a/ubooquity.subdomain.conf.sample +++ b/ubooquity.subdomain.conf.sample @@ -24,28 +24,28 @@ server { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_ubooquity ubooquity; - proxy_pass http://$upstream_ubooquity:2202; + set $upstream_app ubooquity; + proxy_pass http://$upstream_app:2202; } location /admin { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_ubooquity ubooquity; - proxy_pass http://$upstream_ubooquity:2203; + set $upstream_app ubooquity; + proxy_pass http://$upstream_app:2203; } location /admin-res { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_ubooquity ubooquity; - proxy_pass http://$upstream_ubooquity:2203; + set $upstream_app ubooquity; + proxy_pass http://$upstream_app:2203; } location /admin-api { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_ubooquity ubooquity; - proxy_pass http://$upstream_ubooquity:2203; + set $upstream_app ubooquity; + proxy_pass http://$upstream_app:2203; } } diff --git a/ubooquity.subfolder.conf.sample b/ubooquity.subfolder.conf.sample index 9c118e5be..84ef84e0b 100644 --- a/ubooquity.subfolder.conf.sample +++ b/ubooquity.subfolder.conf.sample @@ -11,13 +11,13 @@ include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_ubooquity ubooquity; - proxy_pass http://$upstream_ubooquity:2202; + set $upstream_app ubooquity; + proxy_pass http://$upstream_app:2202; } location ^~ /ubooquity/admin { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_ubooquity ubooquity; - proxy_pass http://$upstream_ubooquity:2203; + set $upstream_app ubooquity; + proxy_pass http://$upstream_app:2203; } diff --git a/unifi-controller.subdomain.conf.sample b/unifi-controller.subdomain.conf.sample index 245914f26..18b7c4030 100644 --- a/unifi-controller.subdomain.conf.sample +++ b/unifi-controller.subdomain.conf.sample @@ -24,8 +24,8 @@ server { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_unifi unifi-controller; - proxy_pass https://$upstream_unifi:8443; + set $upstream_app unifi-controller; + proxy_pass https://$upstream_app:8443; } location /wss { @@ -39,8 +39,8 @@ server { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_unifi unifi-controller; - proxy_pass https://$upstream_unifi:8443; + set $upstream_app unifi-controller; + proxy_pass https://$upstream_app:8443; proxy_buffering off; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "Upgrade"; diff --git a/znc.subdomain.conf.sample b/znc.subdomain.conf.sample index 328812a88..5650291b0 100644 --- a/znc.subdomain.conf.sample +++ b/znc.subdomain.conf.sample @@ -24,7 +24,7 @@ server { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_znc znc; - proxy_pass http://$upstream_znc:6501; + set $upstream_app znc; + proxy_pass http://$upstream_app:6501; } } \ No newline at end of file diff --git a/znc.subfolder.conf.sample b/znc.subfolder.conf.sample index fa3767ff8..decf3ef5f 100644 --- a/znc.subfolder.conf.sample +++ b/znc.subfolder.conf.sample @@ -11,6 +11,6 @@ location /znc { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; - set $upstream_znc znc; - proxy_pass http://$upstream_znc:6501; + set $upstream_app znc; + proxy_pass http://$upstream_app:6501; } \ No newline at end of file