Another try with entrypoint rewrites

This commit is contained in:
Frikky
2024-07-26 18:25:43 +02:00
parent 94a2f4ce87
commit 4e7d03debb
3 changed files with 10 additions and 12 deletions
+3 -3
View File
@@ -71,8 +71,7 @@ http {
}
location ~ /api/v(1|2) {
#proxy_pass http://{{ getenv "BACKEND_HOSTNAME" "shuffle-backend" }}:5001;
proxy_pass http://$BACKEND_HOSTNAME:5001;
proxy_pass http://${BACKEND_HOSTNAME}:5001;
proxy_buffering off;
proxy_http_version 1.1;
@@ -114,7 +113,8 @@ http {
# Get the hostname from environment here?
location ~ /api/v(1|2) {
proxy_pass http://$BACKEND_HOSTNAME:5001;
proxy_pass http://${BACKEND_HOSTNAME}:5001;
proxy_buffering off;
proxy_http_version 1.1;