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

Commit

Permalink
Fixes #387: Add php-fpm configuration for other default vhosts.
Browse files Browse the repository at this point in the history
  • Loading branch information
geerlingguy committed Jan 25, 2016
1 parent 6c8d4b0 commit 9b014ea
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions example.config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,18 @@ apache_vhosts:
- servername: "adminer.drupalvm.dev"
documentroot: "/opt/adminer"
extra_parameters: |
ProxyPassMatch ^/(.*\.php(/.*)?)$ "unix:/var/run/php5-fpm.sock|fcgi://127.0.0.1:9000/opt/adminer"
- servername: "xhprof.drupalvm.dev"
documentroot: "/usr/share/php/xhprof_html"
extra_parameters: |
ProxyPassMatch ^/(.*\.php(/.*)?)$ "unix:/var/run/php5-fpm.sock|fcgi://127.0.0.1:9000/usr/share/php/xhprof_html"
- servername: "pimpmylog.drupalvm.dev"
documentroot: "/usr/share/php/pimpmylog"
extra_parameters: |
ProxyPassMatch ^/(.*\.php(/.*)?)$ "unix:/var/run/php5-fpm.sock|fcgi://127.0.0.1:9000/usr/share/php/pimpmylog"
apache_remove_default_vhost: true
apache_mods_enabled:
Expand Down Expand Up @@ -197,6 +203,7 @@ php_max_input_vars: "4000"
# to instead use Apache + mod_php with an Ubuntu base box, make sure you add
# libapache2-mod-php5 to `extra_packages` elsewhere in this config file.
php_enable_php_fpm: true
php_fpm_listen: "127.0.0.1:9000"

composer_path: /usr/bin/composer
composer_home_path: '/home/vagrant/.composer'
Expand Down

0 comments on commit 9b014ea

Please sign in to comment.