Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
AURA
dashboard
Commits
50017eff
Verified
Commit
50017eff
authored
Mar 29, 2022
by
EorlBruder
Browse files
feat(engine-api): make engine-api-urls configurable
parent
dabb7599
Pipeline
#1774
passed with stage
in 3 minutes and 18 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
nginx/nginx.prod.template
View file @
50017eff
...
...
@@ -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";
...
...
nginx/run.sh
View file @
50017eff
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment