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

Merge branch 'port_in_redirect' into 'master'

Don't specify the port in nginx absolute redirects

See merge request !1
parents 8626792d 3afb106a
Branches
Tags
1 merge request!1Don't specify the port in nginx absolute redirects
Pipeline #969659 passed
......@@ -18,6 +18,12 @@ mv /tmp/src /tmp/src-original
cd /tmp/src-original/
/opt/rh/rh-python36/root/usr/bin/mkdocs build --clean --site-dir /tmp/src/
# Configure nginx to not specify the port in absolute redirects.
mkdir /tmp/src/nginx-default-cfg/
cat <<EOF> /tmp/src/nginx-default-cfg/redirect.conf
port_in_redirect off;
EOF
# Go back to the current directory.
cd $cwd
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment