HTTP redirection
This commit is contained in:
parent
1d1191f149
commit
8a71300358
|
@ -2512,6 +2512,9 @@ server {
|
|||
index index.html index.htm;
|
||||
server_name mydomainname.com;
|
||||
|
||||
# Uncomment this if you need to redirect HTTP to HTTPS
|
||||
#rewrite ^ https://$server_name$request_uri? permanent;
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ /index.html;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue