Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Amin Vakil
infrastructure
Commits
c8d54849
Verified
Commit
c8d54849
authored
May 08, 2022
by
Evangelos Foutras
🐱
Browse files
archweb: fix HSTS header missing from archlinux.org
parent
5d166223
Changes
1
Hide whitespace changes
Inline
Side-by-side
roles/archweb/templates/nginx.d.conf.j2
View file @
c8d54849
...
...
@@ -198,6 +198,9 @@ server {
uwsgi_cache_key $cache_key;
add_header X-Cache-Status $upstream_cache_status;
# re-add HSTS (inheritance from sslsettings.conf broken by above header)
add_header Strict-Transport-Security $hsts_header always;
limit_req zone=archweblimit burst=10 nodelay;
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment