Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fdfb146

Browse files
authored
Update default.conf
removing the log path. Now the docker image is automatically creating symlinks access.log -> /dev/stdout error.log -> /dev/stderr So errors are easy visible in the Docker Dashboard
1 parent 59bf8b2 commit fdfb146

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

nginx/default.conf

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ server {
22
listen 80;
33
index index.php index.html;
44
server_name localhost;
5-
error_log /var/log/nginx/error.log;
6-
access_log /var/log/nginx/access.log;
75
root /var/www/html/public;
86

97
location / {

0 commit comments

Comments
 (0)