From 418a8bb9d699bf70286b73eb53e22b4ffc93fe37 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 30 Dec 2016 22:58:20 +0000 Subject: [PATCH] Format of proxying --- src/freedombone-app-matrix | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/freedombone-app-matrix b/src/freedombone-app-matrix index 8af2b22a..58287351 100755 --- a/src/freedombone-app-matrix +++ b/src/freedombone-app-matrix @@ -48,15 +48,15 @@ matrix_variables=(ONION_ONLY DEFAULT_DOMAIN_NAME) function matrix_nginx { - matrix_proxy_str=" \ - location /matrix { \ - proxy_pass https://localhost:${MATRIX_PORT}; \ - proxy_buffering on; \ + matrix_proxy_str=" + location /matrix { + proxy_pass https://localhost:${MATRIX_PORT}; + proxy_buffering on; }" - turn_proxy_str=" \ - location /turn { \ - proxy_pass https://localhost:${TURN_PORT}; \ - proxy_buffering on; \ + turn_proxy_str=" + location /turn { + proxy_pass https://localhost:${TURN_PORT}; + proxy_buffering on; }" if [ ! -f /etc/nginx/sites-available/${DEFAULT_DOMAIN_NAME} ]; then