docker nginx fixes

This commit is contained in:
Timo Bejan 2020-09-22 15:21:16 +03:00
parent 52ac53a436
commit 0ec59538bb
3 changed files with 1 additions and 3 deletions

0
Running Normal file
View File

View File

@ -12,6 +12,4 @@ echo '{
"API_URL":"'"$API_URL"'"
}' > /usr/share/nginx/html/assets/config/config.json
nginx -g 'daemon off;'
envsubst '$API_URL' < /nginx.conf.template > /etc/nginx/nginx.conf && exec nginx -g 'daemon off;'"]
envsubst '$API_URL' < /nginx.conf.template > /etc/nginx/nginx.conf && exec nginx -g 'daemon off;'

0
fcb21c8336cd Normal file
View File