Use service names instead of subdomains for vhost file names
This commit is contained in:
parent
ef7c00b748
commit
f6061e1b5e
|
@ -2,7 +2,7 @@
|
||||||
---
|
---
|
||||||
- name: copy docker registry vhost configuration
|
- name: copy docker registry vhost configuration
|
||||||
copy:
|
copy:
|
||||||
src: vhost/docker
|
src: vhost/docker_registry
|
||||||
dest: "{{ services.nginx_proxy.volume_folder }}/vhost/{{ services.docker_registry.domain }}"
|
dest: "{{ services.nginx_proxy.volume_folder }}/vhost/{{ services.docker_registry.domain }}"
|
||||||
mode: "0644"
|
mode: "0644"
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
|
|
||||||
- name: Upload vhost config for root domain
|
- name: Upload vhost config for root domain
|
||||||
copy:
|
copy:
|
||||||
src: vhost/social
|
src: vhost/mastodon
|
||||||
dest: "{{ services.nginx_proxy.volume_folder }}/vhost/{{ services.mastodon.domain }}"
|
dest: "{{ services.nginx_proxy.volume_folder }}/vhost/{{ services.mastodon.domain }}"
|
||||||
|
|
||||||
- name: Copy PostgreSQL config
|
- name: Copy PostgreSQL config
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
---
|
---
|
||||||
- name: upload vhost config for cloud.data.coop
|
- name: upload vhost config for cloud.data.coop
|
||||||
copy:
|
copy:
|
||||||
src: vhost/cloud
|
src: vhost/nextcloud
|
||||||
dest: "{{ services.nginx_proxy.volume_folder }}/vhost/{{ services.nextcloud.domain }}"
|
dest: "{{ services.nginx_proxy.volume_folder }}/vhost/{{ services.nextcloud.domain }}"
|
||||||
notify: "restart nginx"
|
notify: "restart nginx"
|
||||||
|
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
---
|
---
|
||||||
- name: Upload vhost config for root domain
|
- name: Upload vhost config for root domain
|
||||||
copy:
|
copy:
|
||||||
src: vhost/_root
|
src: vhost/base_domain
|
||||||
dest: "{{ services.nginx_proxy.volume_folder }}/vhost/{{ base_domain }}"
|
dest: "{{ services.nginx_proxy.volume_folder }}/vhost/{{ base_domain }}"
|
||||||
|
|
||||||
- name: Upload vhost config for WWW domain
|
- name: Upload vhost config for WWW domain
|
||||||
copy:
|
copy:
|
||||||
src: vhost/www
|
src: vhost/www.base_domain
|
||||||
dest: "{{ services.nginx_proxy.volume_folder }}/vhost/www.{{ base_domain }}"
|
dest: "{{ services.nginx_proxy.volume_folder }}/vhost/www.{{ base_domain }}"
|
||||||
|
|
||||||
- name: setup data.coop website docker container
|
- name: setup data.coop website docker container
|
||||||
|
|
Loading…
Reference in a new issue