Redirect http to https
This commit is contained in:
parent
e336530659
commit
b39a678e37
@ -2,6 +2,14 @@ ssl_session_cache shared:SSL:10m;
|
||||
|
||||
ssl_session_timeout 10m;
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
|
||||
server_name yaaaw.it;
|
||||
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
|
||||
server {
|
||||
|
||||
listen 443 ssl;
|
||||
|
Loading…
x
Reference in New Issue
Block a user