mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
corrected nginx error_log configuration
This commit is contained in:
parent
cce0a7d926
commit
b43740967f
@ -53,7 +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;
|
||||
error_log $GRADIDO_LOG_PATH/nginx-error.frontend.log warn;
|
||||
}
|
||||
|
||||
# Backend
|
||||
@ -69,7 +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;
|
||||
error_log $GRADIDO_LOG_PATH/nginx-error.backend.log warn;
|
||||
}
|
||||
|
||||
# Backend webhooks
|
||||
@ -85,7 +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;
|
||||
error_log $GRADIDO_LOG_PATH/nginx-error.backend.hook.log warn;
|
||||
}
|
||||
|
||||
# Webhook reverse proxy
|
||||
@ -93,7 +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;
|
||||
error_log $GRADIDO_LOG_PATH/nginx-error.hooks.log warn;
|
||||
}
|
||||
|
||||
# Admin Frontend
|
||||
@ -109,6 +109,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 warn;
|
||||
}
|
||||
|
||||
# TODO this could be a performance optimization
|
||||
|
||||
@ -38,7 +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;
|
||||
error_log $GRADIDO_LOG_PATH/nginx-error.frontend.log warn;
|
||||
}
|
||||
|
||||
# Backend
|
||||
@ -54,7 +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;
|
||||
error_log $GRADIDO_LOG_PATH/nginx-error.backend.log warn;
|
||||
}
|
||||
|
||||
# Backend webhooks
|
||||
@ -71,7 +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;
|
||||
error_log $GRADIDO_LOG_PATH/nginx-error.backend.hook.log warn;
|
||||
}
|
||||
|
||||
# Webhook reverse proxy
|
||||
@ -79,7 +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;
|
||||
error_log $GRADIDO_LOG_PATH/nginx-error.hooks.log warn;
|
||||
}
|
||||
|
||||
# Admin Frontend
|
||||
@ -95,7 +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;
|
||||
error_log $GRADIDO_LOG_PATH/nginx-error.admin.log warn;
|
||||
}
|
||||
|
||||
# TODO this could be a performance optimization
|
||||
|
||||
@ -32,6 +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;
|
||||
error_log $GRADIDO_LOG_PATH/nginx-error.update-page.log warn;
|
||||
}
|
||||
|
||||
|
||||
@ -17,6 +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;
|
||||
error_log $GRADIDO_LOG_PATH/nginx-error.update-page.log warn;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user