Skip to content
This repository was archived by the owner on Feb 13, 2023. It is now read-only.

Commit 9b014ea

Browse files
committed
Fixes #387: Add php-fpm configuration for other default vhosts.
1 parent 6c8d4b0 commit 9b014ea

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

example.config.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,12 +84,18 @@ apache_vhosts:
8484
8585
- servername: "adminer.drupalvm.dev"
8686
documentroot: "/opt/adminer"
87+
extra_parameters: |
88+
ProxyPassMatch ^/(.*\.php(/.*)?)$ "unix:/var/run/php5-fpm.sock|fcgi://127.0.0.1:9000/opt/adminer"
8789
8890
- servername: "xhprof.drupalvm.dev"
8991
documentroot: "/usr/share/php/xhprof_html"
92+
extra_parameters: |
93+
ProxyPassMatch ^/(.*\.php(/.*)?)$ "unix:/var/run/php5-fpm.sock|fcgi://127.0.0.1:9000/usr/share/php/xhprof_html"
9094
9195
- servername: "pimpmylog.drupalvm.dev"
9296
documentroot: "/usr/share/php/pimpmylog"
97+
extra_parameters: |
98+
ProxyPassMatch ^/(.*\.php(/.*)?)$ "unix:/var/run/php5-fpm.sock|fcgi://127.0.0.1:9000/usr/share/php/pimpmylog"
9399
94100
apache_remove_default_vhost: true
95101
apache_mods_enabled:
@@ -197,6 +203,7 @@ php_max_input_vars: "4000"
197203
# to instead use Apache + mod_php with an Ubuntu base box, make sure you add
198204
# libapache2-mod-php5 to `extra_packages` elsewhere in this config file.
199205
php_enable_php_fpm: true
206+
php_fpm_listen: "127.0.0.1:9000"
200207

201208
composer_path: /usr/bin/composer
202209
composer_home_path: '/home/vagrant/.composer'

0 commit comments

Comments
 (0)