diff --git a/yaaaw.conf b/yaaaw.conf index d72d1ab..5f205c6 100644 --- a/yaaaw.conf +++ b/yaaaw.conf @@ -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;