updated ingress to fix iframe
This commit is contained in:
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user