seafile_ynh/conf/nginx_add_webdav

14 lines
549 B
Text
Raw Normal View History

location /seafdav {
2021-05-11 21:18:48 +02:00
proxy_pass http://127.0.0.1:__WEBDAV_PORT__/seafdav;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $server_name;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_read_timeout 1200s;
client_max_body_size 0;
access_log /var/log/nginx/seafdav.access.log;
error_log /var/log/nginx/seafdav.error.log;
2021-05-11 21:18:48 +02:00
}