mirror of
https://github.com/nextcloud/documentation.git
synced 2025-10-26 11:18:02 +00:00
Adapt Updates to nginx configuration
Signed-off-by: Bernhard Ostertag <bernieo.github@gmx.de> Nextcloud 17 adds the Same-Origin header which was removed with Nextcloud 12. ref #1597 (which should IMHO be merged before release of Nextcloud 17)
This commit is contained in:
parent
568f103c15
commit
d71a75b1ba
@ -12,10 +12,8 @@ versions linked.
|
||||
Updates to Nginx configuration
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
* In the Nginx configuration the Same-Origin header was removed. This is now
|
||||
handled in PHP and keeping it will result in a wrong header. Please remove
|
||||
those lines in your Nginx config:
|
||||
``add_header X-Frame-Options "SAMEORIGIN";``
|
||||
* In the Nginx configuration the Same-Origin header was added. Please add
|
||||
this line to your Nginx config: ``add_header X-Frame-Options "SAMEORIGIN" always;``
|
||||
See :doc:`installation/nginx`
|
||||
* For improvements in serving HTTP requests the Nginx configuration now has
|
||||
HTTP 2 enabled. Please update your Nginx config accordingly. See
|
||||
|
||||
Loading…
Reference in New Issue
Block a user