1
0
forked from sent/waves
This commit is contained in:
sent 2025-04-17 04:53:05 -07:00
parent 39733b0258
commit fa500afb7b

View File

@ -81,13 +81,11 @@ cat <<EOF | sudo tee /etc/caddy/Caddyfile > /dev/null
X-Content-Type-Options "nosniff"
X-XSS-Protection "1; mode=block"
Referrer-Policy "no-referrer"
Cross-Origin-Embedder-Policy "require-corp"
Cross-Origin-Opener-Policy "same-origin"
}
}
EOF
separator
h
info "Testing Caddy configuration..."
sudo caddy fmt /etc/caddy/Caddyfile > /dev/null 2>&1
if [ $? -eq 0 ]; then