mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-11-15 16:12:51 +11:00
Less longer htst header
This commit is contained in:
parent
49edeecca0
commit
0530c8cb30
1 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,7 @@ server {
|
||||||
ssl_certificate /srv/dpaste.de/var/ssl/dpaste_de_unified.crt;
|
ssl_certificate /srv/dpaste.de/var/ssl/dpaste_de_unified.crt;
|
||||||
ssl_certificate_key /srv/dpaste.de/var/ssl/dpaste_de.key;
|
ssl_certificate_key /srv/dpaste.de/var/ssl/dpaste_de.key;
|
||||||
|
|
||||||
add_header Strict-Transport-Security max-age=31536000;
|
add_header Strict-Transport-Security max-age=25200;
|
||||||
|
|
||||||
include /srv/dpaste.de/src/dpaste/server/nginx_server.conf;
|
include /srv/dpaste.de/src/dpaste/server/nginx_server.conf;
|
||||||
}
|
}
|
||||||
|
@ -36,7 +36,7 @@ server {
|
||||||
ssl_certificate /srv/dpaste.de/var/ssl/dpaste_org_unified.crt;
|
ssl_certificate /srv/dpaste.de/var/ssl/dpaste_org_unified.crt;
|
||||||
ssl_certificate_key /srv/dpaste.de/var/ssl/dpaste_org.key;
|
ssl_certificate_key /srv/dpaste.de/var/ssl/dpaste_org.key;
|
||||||
|
|
||||||
add_header Strict-Transport-Security max-age=31536000;
|
add_header Strict-Transport-Security max-age=25200;
|
||||||
|
|
||||||
include /srv/dpaste.de/src/dpaste/server/nginx_server.conf;
|
include /srv/dpaste.de/src/dpaste/server/nginx_server.conf;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue