Skip to content

Commit ee2a34e

Browse files
authored
Merge pull request #16 from haugge/feature/remove-logging
Remove Logs from php-fpm and nginx
2 parents b718924 + 76cc31c commit ee2a34e

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

etc/nginx/nginx.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ http {
1818
'$status $body_bytes_sent "$http_referer" '
1919
'"$http_user_agent" "$http_x_forwarded_for"';
2020

21-
access_log /dev/stdout main;
21+
access_log /dev/null main;
2222

2323
sendfile on;
2424

usr/local/etc/php-fpm.d/zz-fpm.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,6 @@ clear_env = no
2929

3030
; Catch output from PHP
3131
catch_workers_output = yes
32+
33+
; No Access Log
34+
access.log=/dev/null

0 commit comments

Comments
 (0)