chore(nginx): consistent use of _HOST suffix

This commit is contained in:
jon r 2025-02-25 01:04:43 +01:00
parent 5562d7ddee
commit ca9a4687af
3 changed files with 3 additions and 3 deletions

View File

@ -52,7 +52,7 @@ NGINX_MAX_BODY_SIZE=10G
FUNKWHALE_API_HOST=api FUNKWHALE_API_HOST=api
FUNKWHALE_API_PORT=5000 FUNKWHALE_API_PORT=5000
FUNKWHALE_FRONT_IP=front FUNKWHALE_FRONT_HOST=front
FUNKWHALE_FRONT_PORT=${VUE_PORT} FUNKWHALE_FRONT_PORT=${VUE_PORT}
# postgres # postgres

View File

@ -4,7 +4,7 @@ upstream funkwhale-api {
} }
upstream funkwhale-front { upstream funkwhale-front {
server ${FUNKWHALE_FRONT_IP}:${FUNKWHALE_FRONT_PORT}; server ${FUNKWHALE_FRONT_HOST}:${FUNKWHALE_FRONT_PORT};
} }
# Required for websocket support. # Required for websocket support.

View File

@ -19,7 +19,7 @@ upstream funkwhale-api {
{% if config.proxy_frontend %} {% if config.proxy_frontend %}
upstream funkwhale-front { upstream funkwhale-front {
server ${FUNKWHALE_FRONT_IP}:${FUNKWHALE_FRONT_PORT}; server ${FUNKWHALE_FRONT_HOST}:${FUNKWHALE_FRONT_PORT};
} }
{% endif %} {% endif %}