Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Complement test image: capture logs from nginx
Browse files Browse the repository at this point in the history
Have nginx send its logs to stderr/out, so that we can debug
#13334.
  • Loading branch information
richvdh committed Oct 5, 2022
1 parent dcced5a commit 2633768
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelog.d/14063.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Complement test image: capture logs from nginx.
6 changes: 6 additions & 0 deletions docker/conf-workers/nginx.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
# configure_workers_and_start.py uses and amends to this file depending on the workers
# that have been selected.

error_log /dev/stderr info;

http {
access_log /dev/stdout;
}

{{ upstream_directives }}

server {
Expand Down

0 comments on commit 2633768

Please sign in to comment.