diff options
Diffstat (limited to 'roles/nextcloud/files/etc')
-rw-r--r-- | roles/nextcloud/files/etc/nginx/sites-available/nextcloud | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/nextcloud/files/etc/nginx/sites-available/nextcloud b/roles/nextcloud/files/etc/nginx/sites-available/nextcloud index 1bab6fd..e8820ca 100644 --- a/roles/nextcloud/files/etc/nginx/sites-available/nextcloud +++ b/roles/nextcloud/files/etc/nginx/sites-available/nextcloud @@ -6,41 +6,41 @@ server { include /etc/lacme/nginx.conf; access_log /var/log/nginx/cloud.access.log; error_log /var/log/nginx/cloud.error.log info; location / { return 301 https://$host$request_uri; } } server { listen 443 ssl http2; listen [::]:443 ssl http2; server_name cloud.fripost.org; root /usr/local/share/nextcloud; include snippets/headers.conf; - add_header X-Robots-Tag none; + add_header X-Robots-Tag "noindex, nofollow"; add_header X-Download-Options noopen; add_header X-Permitted-Cross-Domain-Policies none; include snippets/ssl.conf; ssl_certificate ssl/cloud.fripost.org.pem; ssl_certificate_key ssl/cloud.fripost.org.key; include snippets/cloud.fripost.org.hpkp-hdr; location = /robots.txt { allow all; log_not_found off; access_log off; } access_log /var/log/nginx/cloud.access.log; error_log /var/log/nginx/cloud.error.log info; location = /.well-known/carddav { return 301 /remote.php/dav; } location = /.well-known/caldav { return 301 /remote.php/dav; } location ^~ /.well-known/ { return 301 /index.php$request_uri; } |