Redirect http to https
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user