Skip to content

Commit 00db714

Browse files
committed
fix: log file location breaks non root accounts
1 parent 49cdc0f commit 00db714

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config/nginx.conf

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
user www-data www-data;
22
worker_processes auto;
33
pid /run/nginx.pid;
4+
error_log /dev/stderr info;
45

56
events {
67
worker_connections 1024;
@@ -10,8 +11,7 @@ http {
1011
include /etc/nginx/mime.types;
1112
default_type application/octet-stream;
1213

13-
access_log /var/www/html/storage/logs/access.log;
14-
error_log /var/www/html/storage/logs/nginx-error.log;
14+
access_log /dev/stdout;
1515

1616
sendfile on;
1717
tcp_nopush on;

0 commit comments

Comments
 (0)