mirror of
https://github.com/offen/website.git
synced 2024-11-22 09:00:28 +01:00
limit server names when deployed
This commit is contained in:
parent
86fe6fec1a
commit
620c1c1b73
@ -28,6 +28,7 @@ http {
|
|||||||
autoindex on;
|
autoindex on;
|
||||||
root /www/data;
|
root /www/data;
|
||||||
expires $expires;
|
expires $expires;
|
||||||
|
servername www.offen.dev staging.offen.dev;
|
||||||
add_header Content-Security-Policy $csp;
|
add_header Content-Security-Policy $csp;
|
||||||
add_header Strict-Transport-Security 'max-age=604800; includeSubDomains';
|
add_header Strict-Transport-Security 'max-age=604800; includeSubDomains';
|
||||||
add_header Referrer-Policy 'origin-when-cross-origin';
|
add_header Referrer-Policy 'origin-when-cross-origin';
|
||||||
|
Loading…
Reference in New Issue
Block a user