catch_all redirects to https
This commit is contained in:
parent
8cef1d5c17
commit
406a140843
|
@ -103,15 +103,10 @@ http {
|
|||
|
||||
}
|
||||
|
||||
|
||||
#Default Catch-all serving
|
||||
#Default Catch-all redirects to https
|
||||
server {
|
||||
listen 80 default_server;
|
||||
server_name _;
|
||||
root /var/www/default;
|
||||
|
||||
location /{
|
||||
try_files $uri /$uri /index.html;
|
||||
}
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue