From d706a4c35789250dbf88bb9fcb344b4ad6714e63 Mon Sep 17 00:00:00 2001 From: teutat3s <10206665+teutat3s@users.noreply.github.com> Date: Sat, 4 Apr 2020 00:07:25 +0200 Subject: [PATCH] add riot web registration possibility --- .../templates/nginx/conf.d/matrix-riot-web.conf.j2 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/roles/matrix-nginx-proxy/templates/nginx/conf.d/matrix-riot-web.conf.j2 b/roles/matrix-nginx-proxy/templates/nginx/conf.d/matrix-riot-web.conf.j2 index 2047748d..0ef2f972 100644 --- a/roles/matrix-nginx-proxy/templates/nginx/conf.d/matrix-riot-web.conf.j2 +++ b/roles/matrix-nginx-proxy/templates/nginx/conf.d/matrix-riot-web.conf.j2 @@ -7,6 +7,10 @@ {{- configuration_block }} {% endfor %} + # location ~ ^/(static|register) { + # proxy_pass http://matrix-registration:5000; + # } + location / { {% if matrix_nginx_proxy_enabled %} {# Use the embedded DNS resolver in Docker containers to discover the service #}