Skip to content

Commit d59b0e5

Browse files
committed
Merge pull request #162 from hanoii/master
* Hashes modification suggest some fixes/improvements.
2 parents 4b5685f + 427b097 commit d59b0e5

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

nginx.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,10 @@ http {
153153
## Block MIME type sniffing on IE.
154154
add_header X-Content-Options nosniff;
155155

156+
## Increase variables hash table
157+
## See http://nginx.org/en/docs/hash.html
158+
variables_hash_max_size 1024;
159+
156160
## Include the upstream servers for PHP FastCGI handling config.
157161
## This one uses the FCGI process listening on TCP sockets.
158162
include upstream_phpcgi_tcp.conf;

php_fpm_status_vhost.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ location = /fpm-status-drei {
6060
if ($dont_show_fpm_status) {
6161
return 404;
6262
}
63-
fastcgi_pass phpcgi;
63+
fastcgi_pass www2;
6464
}
6565

6666
## The ping page is at /ping and returns the string configured at the php-fpm level.
@@ -69,5 +69,5 @@ location = /ping-drei {
6969
if ($dont_show_fpm_status) {
7070
return 404;
7171
}
72-
fastcgi_pass phpcgi;
72+
fastcgi_pass www2;
7373
}

upstream_phpcgi_unix.conf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,8 @@ upstream www0 {
4646
upstream www1 {
4747
server unix:/var/run/php-fpm-zwei.sock;
4848
}
49+
50+
## The PHP TCP upstream that corresponds to the third pool: www2.
51+
upstream www2 {
52+
server unix:/var/run/php-fpm-drei.sock;
53+
}

0 commit comments

Comments
 (0)