Another try with entrypoint rewrites
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user