Commit 9b634458 authored by Jan-Oliver Opdenhövel's avatar Jan-Oliver Opdenhövel
Browse files

Fixing the ngiinx vhost directory

parent 06106371
......@@ -283,7 +283,6 @@
- name: configure fsmi-matrix
hosts: fsmi-matrix
roles:
- role: element-web
- role: sync-files
sync:
mount_src: "karo.upb.de:/backup/matrix"
......@@ -291,6 +290,8 @@
working_dir: "/var/lib"
files:
- "synapse"
- role: nginx
- role: element-web
- role: postgresql
postgresql:
backup_dir: "/backup"
......@@ -311,4 +312,3 @@
address: "::1/128"
method: "scram-sha-256"
- role: synapse
- role: nginx
......@@ -14,3 +14,8 @@
file_data:
element.json: /etc/webapps/element/config.json
vhost.conf: /etc/nginx/vhosts/element.conf
- name: Reload nginx config
service:
name: nginx.service
state: reloaded
\ No newline at end of file
......@@ -5,6 +5,14 @@
name:
- nginx-mainline
- name: create vhost directory
file:
path: /etc/nginx/vhosts
owner: root
group: root
mode: '755'
state: directory
- name: copy configurations
template:
dest: "{{ item.value }}"
......
......@@ -34,6 +34,11 @@
shell:
cmd: /insert_synapse_secrets.sh
- name: Reload nginx config
service:
name: nginx.service
state: reloaded
- name: enable synapse
service:
name: synapse.service
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment