Answer the question
In order to leave comments, you need to log in
Why files are not uploaded to nginx?
Good evening.
I have user www-data. It is specified in the nginx.conf settings:
user www-data;
chown -R www-data.www-data /home/webdav
server {
listen 0.0.0.0:80;
server_name storage.*********.biz;
client_max_body_size 20m;
location / {
root /home/webdav;
client_body_temp_path /tmp;
dav_methods PUT DELETE MKCOL COPY MOVE;
create_full_put_path on;
dav_access user:rw group:rw all:r;
location ~ \.(html|htm)$ {
allow 127.0.0.1;
allow 10.0.0.0/8;
deny all;
}
limit_except GET {
allow 10.0.0.0/8;
allow 127.0.0.1;
deny all;
}
}
}
*a lot-of-unnecessary-reporting* access forbidden by rule *a lot-of-unnecessary-reporting*
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question