Skip to content
Snippets Groups Projects
Commit 418a8bb9 authored by Bob Mottram's avatar Bob Mottram
Browse files

Format of proxying

parent 433c5027
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment