reorganised nginx.conf
Some checks are pending
continuous-integration/drone/push Build is failing

This commit is contained in:
shim_
2018-11-11 17:24:27 +01:00
parent bee6bd3200
commit fb956cb777
10 changed files with 83 additions and 85 deletions

14
nginx/seafile/seahub.conf Normal file
View File

@@ -0,0 +1,14 @@
location / {
proxy_pass http://hub;
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_read_timeout 1200s;
# used for view/edit office file via Office Online Server
client_max_body_size 0;
access_log /dev/stdout;
}