How to embed a NextCloud page to Wordpress


I would like to embed a content from NextCloud to a Wordpress site. Both platform are on ynh, but on different servers.

I tried to follow this thread.

I added this line

  proxy_set_header X-Forwarded-Proto $scheme;    # for EP to set secure cookie flag when https is used

to /etc/nginx/conf.d/

But I still receive the same error.


Thank you.


Try adding more_clear_headers "X-Frame-Options"; in the location block of your nextcloud.conf file.

1 Like

Thank you, it works!

Could it be that is this option that doesn’t allow embedding of a Wordpress website to another Wordpress website? I know Wordpress embed automatically other website links, but this is not happening right now.


Could be yes. This header is set as a general secutity header by YunoHost. Add my line wherever you need to disable it.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.