mirror of
https://github.com/searxng/searxng-docker.git
synced 2025-12-22 19:50:00 +00:00
[enh] add HSTS header (#419)
This commit is contained in:
committed by
GitHub
parent
649d7509c9
commit
d9357aca09
@@ -65,6 +65,11 @@ header {
|
||||
|
||||
# Comment header to allow indexing by search engines
|
||||
X-Robots-Tag "noindex, nofollow, noarchive, nositelinkssearchbox, nosnippet, notranslate, noimageindex"
|
||||
|
||||
# enable HSTS
|
||||
# WARNING: Once this value is set, the site must continue to support HTTPS until the expiry time is reached.
|
||||
|
||||
# Strict-Transport-Security max-age=15768000;
|
||||
|
||||
# Remove "Server" header
|
||||
-Server
|
||||
|
||||
Reference in New Issue
Block a user