@@ -0,0 +1,3 @@
+location /element/ {
+ root /usr/local/www/element/;
+}
@@ -24,6 +24,12 @@
mode: 0600
notify: Dendrite restarted
+- name: Element nginx conf installed
+ copy:
+ src: nginx-location.conf
+ dest: /usr/local/etc/nginx/locations/element.conf
+ notify: Nginx retarted
+
- name: Element config installed
copy:
src: element-config.json
@@ -1,4 +1,4 @@
-version: 1
+version: 2
global:
server_name: matrix.unbl.ink