Verified Commit c8d54849 authored by Evangelos Foutras's avatar Evangelos Foutras 🐱
Browse files

archweb: fix HSTS header missing from archlinux.org

parent 5d166223
Pipeline #18437 passed with stage
in 33 seconds
...@@ -198,6 +198,9 @@ server { ...@@ -198,6 +198,9 @@ server {
uwsgi_cache_key $cache_key; uwsgi_cache_key $cache_key;
add_header X-Cache-Status $upstream_cache_status; 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; limit_req zone=archweblimit burst=10 nodelay;
} }
} }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment