mirror of
https://github.com/msfjarvis/server-config
synced 2025-08-14 17:37:02 +05:30
Caddyfile: stop serving X-Content-Type-Options header
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
e5f4e081d4
commit
f268a87d7d
1 changed files with 0 additions and 3 deletions
|
@ -24,7 +24,6 @@
|
||||||
# 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"
|
||||||
X-Content-Type-Options "nosniff"
|
|
||||||
X-Frame-Options "SAMEORIGIN"
|
X-Frame-Options "SAMEORIGIN"
|
||||||
Feature-Policy "accelerometer 'none';ambient-light-sensor 'none'; autoplay 'none';camera 'none';encrypted-media 'none'; geolocation 'none';gyroscope 'none';magnetometer 'none';microphone 'none';midi 'none';payment 'none';picture-in-picture 'none'; speaker 'none';sync-xhr 'none';usb 'none';vr 'none'"
|
Feature-Policy "accelerometer 'none';ambient-light-sensor 'none'; autoplay 'none';camera 'none';encrypted-media 'none'; geolocation 'none';gyroscope 'none';magnetometer 'none';microphone 'none';midi 'none';payment 'none';picture-in-picture 'none'; speaker 'none';sync-xhr 'none';usb 'none';vr 'none'"
|
||||||
Referrer-Policy "no-referrer"
|
Referrer-Policy "no-referrer"
|
||||||
|
@ -71,7 +70,6 @@ https://bin.msfjarvis.dev {
|
||||||
import proxy_config
|
import proxy_config
|
||||||
}
|
}
|
||||||
header / {
|
header / {
|
||||||
-X-Content-Type-Options
|
|
||||||
-Content-Security-Policy
|
-Content-Security-Policy
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -108,7 +106,6 @@ https://mail.msfjarvis.dev {
|
||||||
to /forbidden
|
to /forbidden
|
||||||
}
|
}
|
||||||
header / {
|
header / {
|
||||||
-X-Content-Type-Options
|
|
||||||
-Content-Security-Policy
|
-Content-Security-Policy
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue