Skip to content

Commit 04a0e87

Browse files
committedAug 11, 2015
disable access_log in php_fpm_status_vhost
since nginx_status_vhost has access_logs disabled, disabling on the php_fpm_status_vhost urls as well. Lots full of LB checks aren't that useful.
1 parent 22011a1 commit 04a0e87

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
 

‎php_fpm_status_vhost.conf

+6
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ location = /fpm-status {
1414
return 404;
1515
}
1616
fastcgi_pass www0;
17+
access_log off;
1718
}
1819

1920
## The ping page is at /ping and returns the string configured at the php-fpm level.
@@ -23,6 +24,7 @@ location = /ping {
2324
return 404;
2425
}
2526
fastcgi_pass www0;
27+
access_log off;
2628
}
2729

2830
## This is for the second pool. It assumes that you've configured
@@ -37,6 +39,7 @@ location = /fpm-status-zwei {
3739
return 404;
3840
}
3941
fastcgi_pass www1;
42+
access_log off;
4043
}
4144

4245
## The ping page is at /ping and returns the string configured at the php-fpm level.
@@ -46,6 +49,7 @@ location = /ping-zwei {
4649
return 404;
4750
}
4851
fastcgi_pass www1;
52+
access_log off;
4953
}
5054

5155
## This is for the third pool that acts as backup. It assumes that
@@ -61,6 +65,7 @@ location = /fpm-status-drei {
6165
return 404;
6266
}
6367
fastcgi_pass phpcgi;
68+
access_log off;
6469
}
6570

6671
## The ping page is at /ping and returns the string configured at the php-fpm level.
@@ -70,4 +75,5 @@ location = /ping-drei {
7075
return 404;
7176
}
7277
fastcgi_pass phpcgi;
78+
access_log off;
7379
}

0 commit comments

Comments
 (0)
Please sign in to comment.