Minor syntax bugfix.
This commit is contained in:
@@ -83,7 +83,7 @@ listen $HTTPS_PORT ssl;
|
|||||||
server_name $DOMAIN_NAME;
|
server_name $DOMAIN_NAME;
|
||||||
rewrite_log on;"
|
rewrite_log on;"
|
||||||
|
|
||||||
if [[ $REDIRECT_HTTPS != "" && $HTTP_PORT != "" ]]; then
|
if [[ $REDIRECT_HTTPS != "" ]]; then
|
||||||
echo "return 301 $REDIRECT_HTTPS;"
|
echo "return 301 $REDIRECT_HTTPS;"
|
||||||
else
|
else
|
||||||
|
|
||||||
@@ -126,10 +126,13 @@ location = /$ERROR_PAGE {
|
|||||||
proxy_set_header Connection "'$http_connection'";
|
proxy_set_header Connection "'$http_connection'";
|
||||||
proxy_cookie_path / /;
|
proxy_cookie_path / /;
|
||||||
access_log off;
|
access_log off;
|
||||||
}
|
|
||||||
}"
|
}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo "}"
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
} >> "$file"
|
} >> "$file"
|
||||||
|
|
||||||
mv /tmp/$DOMAIN.conf $DOMAIN.conf;
|
mv /tmp/$DOMAIN.conf $DOMAIN.conf;
|
||||||
|
Reference in New Issue
Block a user