update https rewite url

This commit is contained in:
xiahaoshawn
2016-05-13 18:54:44 +08:00
committed by Tan Jiang
parent 9c4d985396
commit b673c98f31
+1 -1
View File
@@ -89,6 +89,6 @@ http {
server {
listen 80;
server_name harbordomain.com;
rewrite ^/(.*) https://$server_name$1 permanent;
rewrite ^/(.*) https://$server_name/$1 permanent;
}
}