fix
This commit is contained in:
parent
bf42da89ac
commit
8009fe9553
1 changed files with 2 additions and 3 deletions
|
@ -9,9 +9,8 @@ server {
|
|||
error_page 403 404 502 503 504 /error.html;
|
||||
|
||||
location / {
|
||||
rewrite ^(.*) https://$host$1 permanent;
|
||||
break;
|
||||
}
|
||||
rewrite ^(.*) https://$host$1 permanent;
|
||||
break;
|
||||
}
|
||||
# FIXME return 301 https://www.domain.com$request_uri; => https://www.nginx.com/blog/creating-nginx-rewrite-rules/
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue