mirror of
https://github.com/offen/website.git
synced 2024-11-22 09:00:28 +01:00
add hsts headers
This commit is contained in:
parent
82687ce264
commit
fff923d9b2
@ -28,6 +28,7 @@ http {
|
|||||||
root /www/data;
|
root /www/data;
|
||||||
expires $expires;
|
expires $expires;
|
||||||
add_header Content-Security-Policy $csp;
|
add_header Content-Security-Policy $csp;
|
||||||
|
add_header Strict-Transport-Security 'max-age=604800; includeSubDomains';
|
||||||
|
|
||||||
location /api/ {
|
location /api/ {
|
||||||
proxy_pass http://server;
|
proxy_pass http://server;
|
||||||
|
Loading…
Reference in New Issue
Block a user