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

Follow-up #410: Use vagrant hostname instead of machine name for servernames #411

Merged
merged 1 commit into from Feb 1, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
14 changes: 7 additions & 7 deletions example.config.yml
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