Disable CORS

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
This commit is contained in:
Harsh Shandilya 2020-01-26 19:36:49 +05:30
parent 61a52bec3f
commit b5d5e9f9cb
No known key found for this signature in database
GPG key ID: C2E74282C2133D62

View file

@ -7,6 +7,7 @@
dns cloudflare
}
header / {
Access-Control-Allow-Origin *
# Security related changes stolen from https://github.com/searx/searx-docker/blob/master/Caddyfile
Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"
X-XSS-Protection "1; mode=block"