fix headers

This commit is contained in:
Antonio J. Delgado 2023-11-28 19:32:48 +02:00
parent dcce283101
commit 089b75e21f

View file

@ -344,7 +344,7 @@ class mastodon (
request_headers => [ request_headers => [
'set X-Forwarded-Proto "https"', 'set X-Forwarded-Proto "https"',
], ],
headers => 'always set Strict-Transport-Security "max-age=31536000"', headers => ['always set Strict-Transport-Security "max-age=31536000"'],
directories => [ directories => [
{ {
'path' => '^/(assets|avatars|emoji|headers|packs|sounds|system)', 'path' => '^/(assets|avatars|emoji|headers|packs|sounds|system)',