updated ingress to fix iframe

This commit is contained in:
2026-02-13 13:14:44 +01:00
parent ccf4e557e0
commit 5df268365d
+2 -1
View File
@@ -765,7 +765,8 @@ metadata:
nginx.ingress.kubernetes.io/ssl-redirect: "true"
nginx.ingress.kubernetes.io/configuration-snippet: |
proxy_hide_header Content-Security-Policy;
add_header Content-Security-Policy "default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval' blob: https://office.dooplex.hu; style-src 'self' 'unsafe-inline' https://office.dooplex.hu; img-src 'self' data: blob: https://office.dooplex.hu; font-src 'self' data: https://office.dooplex.hu; connect-src 'self' blob: wss://office.dooplex.hu https://office.dooplex.hu; frame-src 'self' blob: https://office.dooplex.hu;";
proxy_hide_header X-Frame-Options;
add_header Content-Security-Policy "default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval' blob: https://office.dooplex.hu; style-src 'self' 'unsafe-inline' https://office.dooplex.hu; img-src 'self' data: blob: https://office.dooplex.hu; font-src 'self' data: https://office.dooplex.hu; connect-src 'self' blob: wss://office.dooplex.hu https://office.dooplex.hu; frame-src 'self' blob: https://office.dooplex.hu; frame-ancestors 'self' https://kisfenyo.dooplex.hu https://*.dooplex.hu;";
set $geo_allowed 0;
if ($remote_addr ~ "^192\.168\.") { set $geo_allowed 1; }
if ($remote_addr ~ "^10\.") { set $geo_allowed 1; }