Welcome! Log In Create A New Profile

Advanced

X-Frame-Options in nginx to allow certain subdomain

November 26, 2021 06:46AM
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
Subject Author Posted

X-Frame-Options in nginx to allow certain subdomain

drodriguez November 26, 2021 06:46AM

Re: X-Frame-Options in nginx to allow certain subdomain

Francis Daly November 26, 2021 09:22AM

Re: X-Frame-Options in nginx to allow certain subdomain

drodriguez November 26, 2021 02:06PM

Re: X-Frame-Options in nginx to allow certain subdomain

Francis Daly November 26, 2021 06:32PM

Re: X-Frame-Options in nginx to allow certain subdomain

drodriguez November 27, 2021 09:28AM

Re: X-Frame-Options in nginx to allow certain subdomain

Francis Daly November 30, 2021 03:18PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 73
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready