Format of proxying
This commit is contained in:
parent
433c502718
commit
418a8bb9d6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue