Navigation Menu

Skip to content

Commit

Permalink
Merge pull request #224 from openquery/php_fpm_status_vhost_access_lo…
Browse files Browse the repository at this point in the history
…g_off

* Disable access_log in php_fpm_status_vhost.
  • Loading branch information
perusio committed Aug 14, 2015
2 parents 22011a1 + 04a0e87 commit 1fbf361
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions php_fpm_status_vhost.conf
Expand Up @@ -14,6 +14,7 @@ location = /fpm-status {
return 404;
}
fastcgi_pass www0;
access_log off;
}

## The ping page is at /ping and returns the string configured at the php-fpm level.
Expand All @@ -23,6 +24,7 @@ location = /ping {
return 404;
}
fastcgi_pass www0;
access_log off;
}

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

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

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

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

0 comments on commit 1fbf361

Please sign in to comment.