jakstys.lt: add sts

This commit is contained in:
Motiejus Jakštys 2023-04-13 11:57:42 +03:00
parent 8fc44ea817
commit a1544a9bfe

View File

@ -370,7 +370,10 @@ in {
} }
''; '';
extraConfig = '' extraConfig = ''
header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"
header /_/* Cache-Control "public, max-age=31536000, immutable" header /_/* Cache-Control "public, max-age=31536000, immutable"
root * /var/www/jakstys.lt root * /var/www/jakstys.lt
file_server { file_server {
precompressed br gzip precompressed br gzip