|
@@ -52,8 +52,8 @@ matrix_variables=(ONION_ONLY
|
52
|
52
|
|
53
|
53
|
function matrix_nginx {
|
54
|
54
|
matrix_identityserver_proxy_str=' \
|
55
|
|
- location /matrix-id { \
|
56
|
|
- proxy_pass http://localhost:8090; \
|
|
55
|
+ location /matrixid { \
|
|
56
|
+ proxy_pass http://localhost:8081; \
|
57
|
57
|
proxy_buffering on; \
|
58
|
58
|
}'
|
59
|
59
|
matrix_proxy_str=' \
|
|
@@ -429,7 +429,7 @@ function remove_matrix {
|
429
|
429
|
remove_onion_service matrix ${MATRIX_PORT}
|
430
|
430
|
|
431
|
431
|
sed -i "/location \/matrix {/,/}/d" /etc/nginx/sites-available/${DEFAULT_DOMAIN_NAME}
|
432
|
|
- sed -i "/location \/matrix-id {/,/}/d" /etc/nginx/sites-available/${DEFAULT_DOMAIN_NAME}
|
|
432
|
+ sed -i "/location \/matrixid {/,/}/d" /etc/nginx/sites-available/${DEFAULT_DOMAIN_NAME}
|
433
|
433
|
sed -i "/location \/turn {/,/}/d" /etc/nginx/sites-available/${DEFAULT_DOMAIN_NAME}
|
434
|
434
|
systemctl restart nginx
|
435
|
435
|
|