Update default-ssl.conf

This commit is contained in:
Lukas M 2019-01-01 11:48:42 +01:00 committed by GitHub
parent bb4b781d24
commit 28382ce728
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -2,6 +2,12 @@ add_header X-Frame-Options DENY;
add_header X-Content-Type-Options nosniff;
add_header X-XSS-Protection "1; mode=block";
server {
listen 80;
server_name _;
return 301 https://$host$request_uri;
}
server {
listen 443;
server_name _;