From 9a0eb564c537225f817c3b7695a3327d9d6e1f97 Mon Sep 17 00:00:00 2001 From: skywalker Date: Wed, 1 Nov 2023 11:41:16 +0800 Subject: [PATCH] nginx-logs seafileformat --- seafile-10.0_ubuntu | 10 +++++----- seafile-11.0_ubuntu | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/seafile-10.0_ubuntu b/seafile-10.0_ubuntu index da486f2..d10832d 100644 --- a/seafile-10.0_ubuntu +++ b/seafile-10.0_ubuntu @@ -189,7 +189,7 @@ server { client_max_body_size 0; access_log /var/log/nginx/seahub.access.log seafileformat; - error_log /var/log/nginx/seahub.error.log; + error_log /var/log/nginx/seahub.error.log seafileformat; } location /seafhttp { @@ -201,12 +201,12 @@ server { proxy_read_timeout 36000s; access_log /var/log/nginx/seafhttp.access.log seafileformat; - error_log /var/log/nginx/seafhttp.error.log; + error_log /var/log/nginx/seafhttp.error.log seafileformat; } location /notification/ping { proxy_pass http://127.0.0.1:8083/ping; access_log /var/log/nginx/notification.access.log seafileformat; - error_log /var/log/nginx/notification.error.log; + error_log /var/log/nginx/notification.error.log seafileformat; } location /notification { proxy_pass http://127.0.0.1:8083/; @@ -214,7 +214,7 @@ server { proxy_set_header Upgrade \$http_upgrade; proxy_set_header Connection "upgrade"; access_log /var/log/nginx/notification.access.log seafileformat; - error_log /var/log/nginx/notification.error.log; + error_log /var/log/nginx/notification.error.log seafileformat; } location /media { root ${SEAFILE_SERVER_HOME}/seafile-server-latest/seahub; @@ -231,7 +231,7 @@ server { client_max_body_size 0; access_log /var/log/nginx/seafdav.access.log seafileformat; - error_log /var/log/nginx/seafdav.error.log; + error_log /var/log/nginx/seafdav.error.log seafileformat; } } EOF diff --git a/seafile-11.0_ubuntu b/seafile-11.0_ubuntu index 61e1268..327e8ed 100644 --- a/seafile-11.0_ubuntu +++ b/seafile-11.0_ubuntu @@ -190,7 +190,7 @@ server { client_max_body_size 0; access_log /var/log/nginx/seahub.access.log seafileformat; - error_log /var/log/nginx/seahub.error.log; + error_log /var/log/nginx/seahub.error.log seafileformat; } location /seafhttp { @@ -202,12 +202,12 @@ server { proxy_read_timeout 36000s; access_log /var/log/nginx/seafhttp.access.log seafileformat; - error_log /var/log/nginx/seafhttp.error.log; + error_log /var/log/nginx/seafhttp.error.log seafileformat; } location /notification/ping { proxy_pass http://127.0.0.1:8083/ping; access_log /var/log/nginx/notification.access.log seafileformat; - error_log /var/log/nginx/notification.error.log; + error_log /var/log/nginx/notification.error.log seafileformat; } location /notification { proxy_pass http://127.0.0.1:8083/; @@ -215,7 +215,7 @@ server { proxy_set_header Upgrade \$http_upgrade; proxy_set_header Connection "upgrade"; access_log /var/log/nginx/notification.access.log seafileformat; - error_log /var/log/nginx/notification.error.log; + error_log /var/log/nginx/notification.error.log seafileformat; } location /media { root ${SEAFILE_SERVER_HOME}/seafile-server-latest/seahub; @@ -232,7 +232,7 @@ server { client_max_body_size 0; access_log /var/log/nginx/seafdav.access.log seafileformat; - error_log /var/log/nginx/seafdav.error.log; + error_log /var/log/nginx/seafdav.error.log seafileformat; } } EOF