Skip to content

Commit 1fbf361

Browse files
committed
Merge pull request #224 from openquery/php_fpm_status_vhost_access_log_off
* Disable access_log in php_fpm_status_vhost.
2 parents 22011a1 + 04a0e87 commit 1fbf361

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)