This commit is contained in:
Bob Mottram 2016-12-31 12:45:18 +00:00
parent ca3a807fd2
commit c1e6dd9efc
1 changed files with 3 additions and 3 deletions

View File

@ -52,8 +52,8 @@ matrix_variables=(ONION_ONLY
function matrix_nginx {
matrix_identityserver_proxy_str=' \
location /matrix-id { \
proxy_pass http://localhost:8090; \
location /matrixid { \
proxy_pass http://localhost:8081; \
proxy_buffering on; \
}'
matrix_proxy_str=' \
@ -429,7 +429,7 @@ function remove_matrix {
remove_onion_service matrix ${MATRIX_PORT}
sed -i "/location \/matrix {/,/}/d" /etc/nginx/sites-available/${DEFAULT_DOMAIN_NAME}
sed -i "/location \/matrix-id {/,/}/d" /etc/nginx/sites-available/${DEFAULT_DOMAIN_NAME}
sed -i "/location \/matrixid {/,/}/d" /etc/nginx/sites-available/${DEFAULT_DOMAIN_NAME}
sed -i "/location \/turn {/,/}/d" /etc/nginx/sites-available/${DEFAULT_DOMAIN_NAME}
systemctl restart nginx