diff --git a/nginx.conf b/nginx.conf index 4923671..9a199e9 100644 --- a/nginx.conf +++ b/nginx.conf @@ -1,5 +1,5 @@ events { - worker_connections 12; + worker_connections 64; } http{ @@ -24,7 +24,7 @@ http{ server { listen 80; - error_log syslog:server=unix:/dev/log; + error_log /dev/stderr; access_log syslog:server=unix:/dev/log; @@ -76,7 +76,7 @@ http{ } location /media { - try_files /var/www /opt/seafile/seafile-server-latest/seahub; + root /opt/seafile/seafile-server-latest/seahub; } }