Skip to content
Snippets Groups Projects
Verified Commit c8d54849 authored by Evangelos Foutras's avatar Evangelos Foutras :smiley_cat:
Browse files

archweb: fix HSTS header missing from archlinux.org

parent 5d166223
No related branches found
No related tags found
No related merge requests found
Pipeline #18437 passed
......@@ -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;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment