also do nginx error log

This commit is contained in:
Ulf Gebhardt 2022-01-17 10:13:57 +01:00
parent 64861404c7
commit cce0a7d926
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9
4 changed files with 11 additions and 0 deletions

View File

@ -53,6 +53,7 @@ server {
proxy_redirect off;
access_log $GRADIDO_LOG_PATH/nginx-access.frontend.log gradido_log;
error_log $GRADIDO_LOG_PATH/nginx-error.frontend.log gradido_log;
}
# Backend
@ -68,6 +69,7 @@ server {
proxy_redirect off;
access_log $GRADIDO_LOG_PATH/nginx-access.backend.log gradido_log;
error_log $GRADIDO_LOG_PATH/nginx-error.backend.log gradido_log;
}
# Backend webhooks
@ -83,6 +85,7 @@ server {
proxy_redirect off;
access_log $GRADIDO_LOG_PATH/nginx-access.backend.hook.log gradido_log;
error_log $GRADIDO_LOG_PATH/nginx-error.backend.hook.log gradido_log;
}
# Webhook reverse proxy
@ -90,6 +93,7 @@ server {
proxy_pass http://127.0.0.1:9000/hooks/;
access_log $GRADIDO_LOG_PATH/nginx-access.hooks.log gradido_log;
error_log $GRADIDO_LOG_PATH/nginx-error.hooks.log gradido_log;
}
# Admin Frontend

View File

@ -38,6 +38,7 @@ server {
proxy_redirect off;
access_log $GRADIDO_LOG_PATH/nginx-access.frontend.log gradido_log;
error_log $GRADIDO_LOG_PATH/nginx-error.frontend.log gradido_log;
}
# Backend
@ -53,6 +54,7 @@ server {
proxy_redirect off;
access_log $GRADIDO_LOG_PATH/nginx-access.backend.log gradido_log;
error_log $GRADIDO_LOG_PATH/nginx-error.backend.log gradido_log;
}
# Backend webhooks
@ -69,6 +71,7 @@ server {
proxy_redirect off;
access_log $GRADIDO_LOG_PATH/nginx-access.backend.hook.log gradido_log;
error_log $GRADIDO_LOG_PATH/nginx-error.backend.hook.log gradido_log;
}
# Webhook reverse proxy
@ -76,6 +79,7 @@ server {
proxy_pass http://127.0.0.1:9000/hooks/;
access_log $GRADIDO_LOG_PATH/nginx-access.hooks.log gradido_log;
error_log $GRADIDO_LOG_PATH/nginx-error.hooks.log gradido_log;
}
# Admin Frontend
@ -91,6 +95,7 @@ server {
proxy_redirect off;
access_log $GRADIDO_LOG_PATH/nginx-access.admin.log gradido_log;
error_log $GRADIDO_LOG_PATH/nginx-error.admin.log gradido_log;
}
# TODO this could be a performance optimization

View File

@ -32,5 +32,6 @@ server {
}
access_log $GRADIDO_LOG_PATH/nginx-access.update-page.log gradido_log;
error_log $GRADIDO_LOG_PATH/nginx-error.update-page.log gradido_log;
}

View File

@ -17,5 +17,6 @@ server {
}
access_log $GRADIDO_LOG_PATH/nginx-access.update-page.log gradido_log;
error_log $GRADIDO_LOG_PATH/nginx-error.update-page.log gradido_log;
}