Skip to content

Commit

Permalink
Better nginx logging for docker
Browse files Browse the repository at this point in the history
  • Loading branch information
portchris committed Jan 19, 2020
1 parent 4b4ac14 commit 383c722
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion env/nginx/webserver/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ http {
'"http_user_agent": "$http_user_agent" }';

error_log /dev/stdout info;
access_log /dev/stdout;
access_log /dev/stdout main;

# server_tokens off;
sendfile on;
Expand Down
2 changes: 1 addition & 1 deletion logs.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/usr/bin/env bash

docker-compose logs -f $@
docker-compose logs -f --tail 120 $@

0 comments on commit 383c722

Please sign in to comment.