update https rewite url

This commit is contained in:
xiahaoshawn 2016-05-12 14:18:34 +08:00
parent 9c4d985396
commit 6e217ba3cc

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;
}
}