Verified Commit 50017eff authored by EorlBruder's avatar EorlBruder
Browse files

feat(engine-api): make engine-api-urls configurable

parent dabb7599
Pipeline #1774 passed with stage
in 3 minutes and 18 seconds
......@@ -71,7 +71,7 @@ server {
proxy_set_header X-Forwarded-Port $server_port;
}
location /trackservice/current/ {
proxy_pass http://engine-api:8008/api/v1/trackservice/current;
proxy_pass http://${ENGINE_API_URL}/api/v1/trackservice/current;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
......
......@@ -4,7 +4,6 @@
trap "exit" INT TERM
trap "kill 0" EXIT
envsubst "`env | awk -F = '{printf \" $$%s\", $$1}'`" < /etc/nginx/conf.d/nginx.template > /etc/nginx/conf.d/default.conf
envsubst "`env | awk -F = '{printf \" $$%s\", $$1}'`" < /etc/nginx/conf.d/nginx.template > /etc/nginx/conf.d/default.conf
for file in /usr/share/nginx/html/js/app*.js* /usr/share/nginx/html/index.html /usr/share/nginx/html/precache-manifest*.js;
do
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment