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

add hsts headers

This commit is contained in:
Frederik Ring 2019-09-13 08:42:22 +02:00
parent 82687ce264
commit fff923d9b2

View File

@ -28,6 +28,7 @@ http {
root /www/data;
expires $expires;
add_header Content-Security-Policy $csp;
add_header Strict-Transport-Security 'max-age=604800; includeSubDomains';
location /api/ {
proxy_pass http://server;