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

Add ontion address to trusted servers

parent 573a9d22
No related branches found
No related tags found
No related merge requests found
......@@ -735,6 +735,10 @@ function install_home_server {
sed -i "s| - '::'|# - '::'|g" $MATRIX_DATA_DIR/homeserver.yaml
fi
if [[ "$ONION_ONLY" != 'no' ]]; then
sed -i "s|- matrix.local|- $MATRIX_ONION_HOSTNAME|g" $MATRIX_DATA_DIR/homeserver.yaml
fi
chmod -R 700 $MATRIX_DATA_DIR/homeserver.yaml
chown -R matrix:matrix /etc/matrix
chown -R matrix:matrix $MATRIX_DATA_DIR
......
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