Skip to content

Commit

Permalink
Merge pull request #36 from radixdlt/redirect-rate-limit-DO-2163
Browse files Browse the repository at this point in the history
Use /dev/stderr for rate-limits and error_log
muzuke authored Feb 7, 2024
2 parents f85553c + 13077f7 commit 9682bf0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions conf.d/nginx.conf.envsubst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
user nginx;
worker_processes 1;

error_log stderr notice;
error_log /dev/stderr notice;
pid /var/run/nginx.pid;

events {
@@ -99,14 +99,14 @@ http {

${INCLUDE_DEFAULT_RATE_LIMITS}

error_log $NGINX_LOGS_DIR/error.log notice;
error_log /dev/stderr notice;
server {
listen 443 ssl;
server_name localhost;

include conf.d/enable-compression.conf;

access_log $NGINX_LOGS_DIR/access_bad.log json_analytics if=${DOLLAR}loggable;
access_log /dev/stderr json_analytics if=${DOLLAR}loggable;
access_log /dev/stdout json_analytics;

#include conf.d/cloudflare-allow.conf;

0 comments on commit 9682bf0

Please sign in to comment.