Omit port on ssl config

This commit is contained in:
Manuel Gutierrez
2020-09-02 14:24:59 +02:00
parent 0992111200
commit 86ff04c0b3

View File

@@ -59,7 +59,7 @@ cat > /etc/nginx/conf.d/default.conf <<EOF
server { server {
listen 80; listen 80;
listen [::]:80; listen [::]:80;
return 301 https://\$host:${NGINX_PORT}\$request_uri; return 301 https://\$host\$request_uri;
} }
server { server {