I’m on a fresh installation of NC 11.0.0 on Ubuntu 16.04 x64 with ISPconfig 3.1.1.p1 and PHP 7.08
Those 2 warnings won’t disapper:
The "X-Content-Type-Options" HTTP header is not configured to equal to "nosniff".
The "X-Frame-Options" HTTP header is not configured to equal to "SAMEORIGIN".
I’ve checked the headers with http://web-sniffer.net/
As you can see, the headers are set.
Pretty links are working:
vi /var/www/nextcloud/config/config.php
'htaccess.RewriteBase' => '/nc',
sudo -u www-data php /var/www/nextcloud/occ maintenance:update:htaccess
I can access the site without index.php
Apache config:
vi /etc/apache2/apache.conf
<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
vi /etc/apache2/conf-enabled/nextcloud.conf
Alias /nc "/var/www/nextcloud/"
SetEnv HOME /var/www/nextcloud
SetEnv HTTP_HOME /var/www/nextcloud
<Directory /var/www/nextcloud>
Options +FollowSymlinks
AllowOverride All
Require all granted
Satisfy Any
<IfModule mod_dav.c>
Dav off
</IfModule>
</Directory>
How can i let those 2 inconvenient warnings disappear?
Thank you!