diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2022-09-13 15:30:52 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-13 15:30:52 +0000 |
| commit | 4b8bf43244a067cc996b7e63cbf240a9091dc137 (patch) | |
| tree | 712709de9e9ca4939464814a19c558244d0e17bd /content | |
| parent | 97ea5ae62f8cb8f565a911f6bf6c77a5b3630a15 (diff) | |
| parent | 16237799d281fb00e67219f9146bae460dac6109 (diff) | |
Merge pull request #231 from LencoDigitexer/patch-1
Make A+ in observatory.mozilla.org for searxng
Diffstat (limited to 'content')
| -rw-r--r-- | content/searxng.md | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/content/searxng.md b/content/searxng.md index e238f0f..ad23ac7 100644 --- a/content/searxng.md +++ b/content/searxng.md @@ -75,6 +75,15 @@ server { access_log /dev/null; error_log /dev/null; + # X-Frame-Options (XFO) header set to DENY + add_header X-Frame-Options "DENY"; + + # HTTP Strict Transport Security (HSTS) header + add_header Strict-Transport-Security "max-age=31536000; includeSubDomains"; + + # Content Security Policy (CSP) + add_header Content-Security-Policy "default-src 'self';"; + location / { uwsgi_pass unix:///usr/local/searxng/run/socket; |
