Browse Source

nginx: fix nextcloud config

master
Alison Watson 1 year ago
parent
commit
aae3799fa4
1 changed files with 4 additions and 3 deletions
  1. +4
    -3
      network/nginx.conf

+ 4
- 3
network/nginx.conf View File

@@ -48,17 +48,18 @@ http {
server {
listen 81;
listen [::]:81;
server_name rain;
root /usr/share/webapps/nextcloud/;
root /media/store/nextcloud/;

client_max_body_size 512M;
fastcgi_buffers 64 4K;
fastcgi_buffers 64 8K;
fastcgi_read_timeout 5m;

add_header X-Content-Type-Options nosniff;
add_header X-XSS-Protection "1; mode=block";
add_header X-Robots-Tag none;
add_header X-Download-Options noopen;
add_header X-Permitted-Cross-Domain-Policies none;
add_header X-Frame-Options sameorigin;

location = /robots.txt {
allow all;


Loading…
Cancel
Save