forked from sent/waves
Fix
This commit is contained in:
parent
39733b0258
commit
fa500afb7b
4
setup.sh
4
setup.sh
|
@ -81,13 +81,11 @@ cat <<EOF | sudo tee /etc/caddy/Caddyfile > /dev/null
|
||||||
X-Content-Type-Options "nosniff"
|
X-Content-Type-Options "nosniff"
|
||||||
X-XSS-Protection "1; mode=block"
|
X-XSS-Protection "1; mode=block"
|
||||||
Referrer-Policy "no-referrer"
|
Referrer-Policy "no-referrer"
|
||||||
Cross-Origin-Embedder-Policy "require-corp"
|
|
||||||
Cross-Origin-Opener-Policy "same-origin"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
separator
|
separator
|
||||||
|
h
|
||||||
info "Testing Caddy configuration..."
|
info "Testing Caddy configuration..."
|
||||||
sudo caddy fmt /etc/caddy/Caddyfile > /dev/null 2>&1
|
sudo caddy fmt /etc/caddy/Caddyfile > /dev/null 2>&1
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
|
|
Loading…
Reference in New Issue
Block a user