mirror of
https://github.com/msfjarvis/server-config
synced 2025-08-14 14:07:02 +05:30
Caddyfile: Disallow non-Cloudflare origins
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
0c6ee8bc60
commit
a060b4630e
1 changed files with 1 additions and 0 deletions
|
@ -5,6 +5,7 @@
|
|||
(base_config) {
|
||||
tls {
|
||||
dns cloudflare
|
||||
clients /etc/ssl/caddy/cloudflare-origin-pull-ca.pem
|
||||
}
|
||||
header / {
|
||||
Content-Security-Policy "
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue