Nextcloud on TS-251A - Warnings backend

Post your questions about Web Server usage and Apache + PHP + MySQL/SQLite web applications.
Post Reply
fps_user
New here
Posts: 4
Joined: Tue Jun 20, 2017 8:28 pm

Nextcloud on TS-251A - Warnings backend

Post by fps_user »

Dear QNAP Community,

I installed Nextcloud on a QNAP TS-251A and also installed a wildcard ssl.

It works fine so far, but at the backend there are serveral Security & setup warnings:
  • The "X-Frame-Options" HTTP header is not configured to equal to "SAMEORIGIN". This is a potential security or privacy risk and we recommend adjusting this setting.
    No memory cache has been configured. To enhance your performance please configure a memcache if available. Further information can be found in our documentation.
Could you please help me with the mentioned warnings?

Unfortunataly QNAP provides only php 5.6, to get rid of "memory cache warning" somehow i have to activate APCu on the QNAP.

Kind regards,
fps_user
fps_user
New here
Posts: 4
Joined: Tue Jun 20, 2017 8:28 pm

Re: Nextcloud on TS-251A - Warnings backend

Post by fps_user »

fyi

The warning "The "X-Frame-Options" HTTP header is not configured to equal to "SAMEORIGIN" disappeared after commenting out following line in the

/etc/config/apache/apache.conf

Code: Select all

<IfModule headers_module>
        #Header always append X-Frame-Options SAMEORIGIN
        Header always edit Set-Cookie ^(.*)$ $1;HttpOnly
</IfModule>
scknet
New here
Posts: 3
Joined: Tue Oct 31, 2017 8:47 pm

Re: Nextcloud on TS-251A - Warnings backend

Post by scknet »

If you're commenting it out, then it wouldn't work as it should would it?
kobe_2104
New here
Posts: 9
Joined: Thu Feb 28, 2013 2:32 pm

Re: Nextcloud on TS-251A - Warnings backend

Post by kobe_2104 »

This is also true for Safari users with Wordpress Live Preview under certain circumstances. I only just noticed tonight, but has been happening for a while now.
If you want to make sure this is the case, in Safari do an Inspect Elements check if your Preview is white, click the Errors numbers and if you get X-Fame-Options errors mentioned SAMEORIGIN and ALLOW, falling back to DENY, Apache is causing it!
Post Reply

Return to “Web Server & Applications (Apache + PHP + MySQL / SQLite)”