trying to fix up VH defs for qa stg,prod so non-phab stuff works

This commit is contained in:
Tim Flink 2017-01-06 19:01:17 +00:00
parent 3a0a28b547
commit 92bfa23050
3 changed files with 4 additions and 1 deletions

View file

@ -2,7 +2,8 @@
<VirtualHost *:80>
# Change this to the domain which points to your host.
ServerName {{ item.name }}
ServerName {{ item.external_name }}
SeverAlias {{ item.name }}
DocumentRoot {{ item.document_root }}

View file

@ -98,3 +98,4 @@ host_backup_targets: ['/var/lib/phabricator/files', '/var/lib/phabricator/repos'
static_sites:
- name: "{{ inventory_hostname }}"
document_root: /srv/content
external_name: "{{ external_hostname }}"

View file

@ -73,6 +73,7 @@ tcp_ports: [ 80, 222, 443, "{{ buildslave_port }}", 3306 ]
static_sites:
- name: "{{ inventory_hostname }}"
document_root: /srv/content
external_name: "{{ external_hostname }}"
sslonly: false