2
0
mirror of https://github.com/offen/website.git synced 2024-12-23 05:20:21 +01:00

limit server names when deployed

This commit is contained in:
Frederik Ring 2019-10-29 12:47:34 +01:00
parent 86fe6fec1a
commit 620c1c1b73

View File

@ -28,6 +28,7 @@ http {
autoindex on;
root /www/data;
expires $expires;
servername www.offen.dev staging.offen.dev;
add_header Content-Security-Policy $csp;
add_header Strict-Transport-Security 'max-age=604800; includeSubDomains';
add_header Referrer-Policy 'origin-when-cross-origin';