Skip to content

Commit

Permalink
expose nginx logs
Browse files Browse the repository at this point in the history
  • Loading branch information
ole-ve committed Jan 14, 2025
1 parent dbb7a62 commit 62da604
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docker/nginx/artemis-server.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@ resolver_timeout 5s;
client_max_body_size 10m;
client_body_buffer_size 1m;

location /logs/ {
autoindex on;
autoindex_exact_size off;
autoindex_format html;
alias /var/log/nginx/;
}

location / {
proxy_pass http://artemis;
proxy_http_version 1.1;
Expand Down
1 change: 1 addition & 0 deletions docker/test-server-multi-node-postgresql-localci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ services:
- type: bind
source: ${NGINX_PROXY_SSL_CERTIFICATE_KEY_PATH:-../src/test/playwright/certs/artemis-nginx+4-key.pem}
target: "/certs/priv_key.pem"
- ./logs:/var/log/nginx

artemis-api-gateway:
extends:
Expand Down

0 comments on commit 62da604

Please sign in to comment.