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

Commit

Permalink
Merge pull request #411 from oxyc/patch
Browse files Browse the repository at this point in the history
Follow-up #410: Use vagrant hostname instead of machine name for servernames
  • Loading branch information
geerlingguy committed Feb 1, 2016
2 parents ffb25b5 + 4da53e4 commit 4d80267
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions example.config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ install_site: true
# is 'true').
drupal_major_version: 8
drupal_core_path: "/var/www/drupalvm/drupal"
drupal_domain: "{{ vagrant_machine_name }}"
drupal_domain: "{{ vagrant_hostname }}"
drupal_site_name: "Drupal"
drupal_install_profile: standard
drupal_enable_modules: [ 'devel' ]
Expand Down Expand Up @@ -82,17 +82,17 @@ apache_vhosts:
extra_parameters: |
ProxyPassMatch ^/(.*\.php(/.*)?)$ "fcgi://127.0.0.1:9000{{ drupal_core_path }}"
- servername: "adminer.{{ vagrant_machine_name }}"
- servername: "adminer.{{ vagrant_hostname }}"
documentroot: "{{ adminer_install_dir }}"
extra_parameters: |
ProxyPassMatch ^/(.*\.php(/.*)?)$ "fcgi://127.0.0.1:9000{{ adminer_install_dir }}"
- servername: "xhprof.{{ vagrant_machine_name }}"
- servername: "xhprof.{{ vagrant_hostname }}"
documentroot: "{{ php_xhprof_html_dir }}"
extra_parameters: |
ProxyPassMatch ^/(.*\.php(/.*)?)$ "fcgi://127.0.0.1:9000{{ php_xhprof_html_dir }}"
- servername: "pimpmylog.{{ vagrant_machine_name }}"
- servername: "pimpmylog.{{ vagrant_hostname }}"
documentroot: "{{ pimpmylog_install_dir }}"
extra_parameters: |
ProxyPassMatch ^/(.*\.php(/.*)?)$ "fcgi://127.0.0.1:9000{{ pimpmylog_install_dir }}"
Expand All @@ -113,15 +113,15 @@ nginx_hosts:
root: "{{ drupal_core_path }}"
is_php: true

- server_name: "adminer.{{ vagrant_machine_name }}"
- server_name: "adminer.{{ vagrant_hostname }}"
root: "{{ adminer_install_dir }}"
is_php: true

- server_name: "xhprof.{{ vagrant_machine_name }}"
- server_name: "xhprof.{{ vagrant_hostname }}"
root: "{{ php_xhprof_html_dir }}"
is_php: true

- server_name: "pimpmylog.{{ vagrant_machine_name }}"
- server_name: "pimpmylog.{{ vagrant_hostname }}"
root: "{{ pimpmylog_install_dir }}"
is_php: true

Expand Down

0 comments on commit 4d80267

Please sign in to comment.