Skip to content

Commit a095f5a

Browse files
ironyaider-chat-bot
andcommitted
fix: ta bort inaktiverade nginx ingress snippet-direktiv
Co-authored-by: aider (anthropic/claude-sonnet-4-20250514) <[email protected]>
1 parent aecd810 commit a095f5a

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

k8s/ingress.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,6 @@ metadata:
2727
nginx.ingress.kubernetes.io/cors-allow-methods: "GET, POST, OPTIONS"
2828
nginx.ingress.kubernetes.io/cors-allow-headers: "DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range,Authorization"
2929

30-
# Security headers
31-
nginx.ingress.kubernetes.io/configuration-snippet: |
32-
add_header X-Frame-Options "SAMEORIGIN" always;
33-
add_header X-Content-Type-Options "nosniff" always;
34-
add_header X-XSS-Protection "1; mode=block" always;
35-
add_header Referrer-Policy "strict-origin-when-cross-origin" always;
36-
add_header Content-Security-Policy "default-src 'self'; script-src 'self' 'unsafe-inline' cdn.jsdelivr.net; style-src 'self' 'unsafe-inline' fonts.googleapis.com; font-src 'self' fonts.gstatic.com; img-src 'self' data:; connect-src 'self';" always;
3730

3831
spec:
3932
tls:

0 commit comments

Comments
 (0)