Added CSP
continuous-integration/drone/push Build is failing Details

This commit is contained in:
DutchEllie 2022-04-20 14:03:46 +02:00
parent 111c6fd5de
commit 85685b1da3
Signed by: DutchEllie
SSH Key Fingerprint: SHA256:UU8yhd1Bh8exU88ev0ej/Dm+CeyfR/ZIDRrpRfYdfbg
1 changed files with 3 additions and 0 deletions

View File

@ -6,6 +6,9 @@ ingress:
annotations: annotations:
cert-manager.io/cluster-issuer: letsencrypt-staging cert-manager.io/cluster-issuer: letsencrypt-staging
external-dns.alpha.kubernetes.io/hostname: "newsite.staging.dutchellie.nl" external-dns.alpha.kubernetes.io/hostname: "newsite.staging.dutchellie.nl"
nginx.ingress.kubernetes.io/configuration-snippet: |
add_header X-Frame-Options "sameorigin";
add_header Content-Security-Policy "default-src 'self' frame-ancestors 'forestofunix.xyz';
tls: tls:
- hosts: - hosts:
- newsite.staging.dutchellie.nl - newsite.staging.dutchellie.nl