Files
smom-dbis-138/frontend-dapp/nginx-dapp-snippet.conf
2026-03-02 12:14:09 -08:00

3 lines
550 B
Plaintext

# Served by deploy-dapp-lxc.sh. CSP allows unsafe-eval for WalletConnect/Reown SDKs; tighten when deps allow.
add_header Content-Security-Policy "default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; font-src 'self' https://fonts.gstatic.com; img-src 'self' data: https:; connect-src 'self' https: wss: http://192.168.11.221:8545 ws://192.168.11.221:8546 https://rpc-http-pub.d-bis.org wss://rpc-ws-pub.d-bis.org; frame-src 'self' https:; frame-ancestors 'self';" always;