I'm using nginx as a reverse proxy for several web services.

One of them is a NextCloud + WOPI based LibreOffice Online Solution, as such it needs to access resources in WOPI server subdomain. What I need is my nginx to allow X-Frame-Options for WOPI server subdomain.

My /etc/nginx/snippets/ssl-params.conf have the X-Frame-Options set to SAMEORIGIN.

I've tried adding following line to NC conf file with no luck:

proxy_hide_header X-Frame-Options

Also tried adding this line, with no luck either

add_header X-Frame-Options "allow-from https://WOPI-DOMAIN";;

Any clue will be much appreciated.



Best regards.-




________________________________________________

 Daniel A. Rodriguez
_Informática, Conectividad y Sistemas_
Universidad Nacional del Alto Uruguay
San Vicente - Misiones - Argentina
informatica.unau.edu.ar
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to