mirror of
https://github.com/msfjarvis/server-config
synced 2025-08-14 08:17:01 +05:30
Disable CORS
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
This commit is contained in:
parent
61a52bec3f
commit
b5d5e9f9cb
1 changed files with 1 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
||||||
dns cloudflare
|
dns cloudflare
|
||||||
}
|
}
|
||||||
header / {
|
header / {
|
||||||
|
Access-Control-Allow-Origin *
|
||||||
# Security related changes stolen from https://github.com/searx/searx-docker/blob/master/Caddyfile
|
# Security related changes stolen from https://github.com/searx/searx-docker/blob/master/Caddyfile
|
||||||
Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"
|
Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"
|
||||||
X-XSS-Protection "1; mode=block"
|
X-XSS-Protection "1; mode=block"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue