Skip to content

Commit

Permalink
feat: start using stdout in the docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosSoares committed Dec 19, 2022
1 parent 48df553 commit 20fbec5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ COPY robots.txt /usr/share/nginx/html/admin/
COPY src /usr/share/nginx/html/admin/src
COPY static /usr/share/nginx/html/admin/static
COPY fonts /usr/share/nginx/html/admin/fonts
COPY nginx.conf /etc/nginx/conf.d/default.conf
COPY nginx.conf /etc/nginx/conf.d/default.conf
6 changes: 2 additions & 4 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ server {
server_name localhost;
root /usr/share/nginx/html;

error_log /var/log/nginx/error.log warn;
access_log /var/log/nginx/access.log anonymous_log_format;
error_log /dev/stdout warn;
access_log /dev/stdout anonymous_log_format;
server_tokens off;

location / {
Expand All @@ -34,5 +34,3 @@ server {
gzip_comp_level 6;
gzip_types text/plain text/css text/xml application/json application/javascript application/xml+rss application/atom+xml image/svg+xml;
}


0 comments on commit 20fbec5

Please sign in to comment.