File tree 5 files changed +11
-7
lines changed
5 files changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,8 @@ services:
69
69
- .env
70
70
volumes :
71
71
- " ./src:${DOCKER_WORK_DIR}"
72
- - " ./docker/php/conf.d/php.ini:/usr/local/etc/php/php.ini:ro"
72
+ - ./logs/php/:/var/log/php
73
+ - ./docker/php/conf.d/php.ini:/usr/local/etc/php/php.ini:ro
73
74
networks :
74
75
- backend-network
75
76
Original file line number Diff line number Diff line change 7
7
8
8
index index.php;
9
9
10
- error_log /var/log/nginx/backend -error.log;
11
- access_log /var/log/nginx/backend -access.log;
10
+ error_log /var/log/nginx/www -error.log;
11
+ access_log /var/log/nginx/www -access.log;
12
12
13
13
location / {
14
14
try_files $uri $uri/ /index.php?$query_string;
Original file line number Diff line number Diff line change 7
7
8
8
index index.php;
9
9
10
- error_log /var/log/nginx/backend -error.log;
11
- access_log /var/log/nginx/backend -access.log;
10
+ error_log /var/log/nginx/www -error.log;
11
+ access_log /var/log/nginx/www -access.log;
12
12
13
13
location / {
14
14
try_files $uri $uri/ /index.php?$query_string;
Original file line number Diff line number Diff line change 1
- date.timezone = UTC
1
+ date.timezone = UTC
2
+
3
+ log_errors = On
4
+ error_log = /var/log/php/error.log
Original file line number Diff line number Diff line change 1
- [program:messenger -consume]
1
+ [program:example -consume]
2
2
command=php /var/www/html/src/bin/supervisord.php
3
3
user=root
4
4
numprocs=1
You can’t perform that action at this time.
0 commit comments