Skip to content
Snippets Groups Projects
Unverified Commit bea8f0a4 authored by chadawagner's avatar chadawagner Committed by GitHub
Browse files

server_https before server_name to avoid overwrite

Commit 6b51f308 changed server_https to replace entire config file contents, overwriting any earlier edits made by server_name. Although there's probably a better solution to enforce or remove dependence on order of setup functions in metabase.sh (combine server_https and server_name into one?) simply moving server_https to the first operation is an expedient fix.
parent 33402b94
No related branches found
No related tags found
No related merge requests found
......@@ -15,13 +15,14 @@ container_commands:
#command: true
#ignoreErrors: false
01_server-name:
command: ".ebextensions/metabase_config/metabase-setup.sh server_name"
test: test $NGINX_SERVER_NAME
# do server_https first to avoid overwriting other config changes
01_server_https:
command: ".ebextensions/metabase_config/metabase-setup.sh server_https"
ignoreErrors: true
02_server_https:
command: ".ebextensions/metabase_config/metabase-setup.sh server_https"
02_server_name:
command: ".ebextensions/metabase_config/metabase-setup.sh server_name"
test: test $NGINX_SERVER_NAME
ignoreErrors: true
03_log_x_real_ip:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment