Skip to content
Snippets Groups Projects
Commit f89ed4ba authored by Nikos Kasioumis's avatar Nikos Kasioumis
Browse files

Merge branch 'improve_assemble' into 'master'

Better filename for the `port_in_redirect` option

See merge request !3
parents d72bfff7 66ce7507
No related branches found
No related tags found
1 merge request!3Better filename for the `port_in_redirect` option
Pipeline #1016584 passed
...@@ -37,9 +37,9 @@ if [ -d ./nginx-start ]; then ...@@ -37,9 +37,9 @@ if [ -d ./nginx-start ]; then
fi fi
# Configure nginx to not specify the port in absolute redirects. # Configure nginx to not specify the port in absolute redirects.
if [ ! -f /tmp/src/nginx-default-cfg/redirect.conf ]; then if [ ! -f /tmp/src/nginx-default-cfg/port_in_redirect.conf ]; then
mkdir --parents /tmp/src/nginx-default-cfg/ mkdir --parents /tmp/src/nginx-default-cfg/
cat <<EOF> /tmp/src/nginx-default-cfg/redirect.conf cat <<EOF> /tmp/src/nginx-default-cfg/port_in_redirect.conf
port_in_redirect off; port_in_redirect off;
EOF EOF
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment