No dash
This commit is contained in:
parent
ca3a807fd2
commit
c1e6dd9efc
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue