allow custom ports from params file

This commit is contained in:
Asif Bacchus
2019-10-17 21:43:28 -06:00
parent 39fa12eab6
commit 9fee0fdebf
3 changed files with 15 additions and 7 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ server {
# default redirect to properly formed HTTPS location
location / {
return 301 https://$host$request_uri;
return 301 https://$host:<HTTPS_PORT>$request_uri;
}
# process Let's Encrypt challenges