From 6e9c6ee5ce5b11f9ca772310dc4bb8bcb1fb9e90 Mon Sep 17 00:00:00 2001 From: creme Date: Thu, 26 Dec 2024 16:49:53 +0100 Subject: [PATCH] rename riot to element also in nginx file --- etc/nginx/sites-available/element.envs.net.conf | 4 ++-- usr/local/bin/update_matrix-media.sh | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/etc/nginx/sites-available/element.envs.net.conf b/etc/nginx/sites-available/element.envs.net.conf index 40fd2a4..5ef2980 100644 --- a/etc/nginx/sites-available/element.envs.net.conf +++ b/etc/nginx/sites-available/element.envs.net.conf @@ -19,7 +19,7 @@ server { include snippets/ssl.conf; - root /opt/Riot/resources/webapp/; + root /opt/element/resources/webapp/; index index.html; location = /index.html { @@ -37,7 +37,7 @@ server { } } -#ALIAS +#ALIAS server { listen 80; listen [::]:80; diff --git a/usr/local/bin/update_matrix-media.sh b/usr/local/bin/update_matrix-media.sh index d1f81b1..7a563b9 100755 --- a/usr/local/bin/update_matrix-media.sh +++ b/usr/local/bin/update_matrix-media.sh @@ -1,7 +1,5 @@ #!/usr/bin/env bash -[ "$(id -u)" -ne 0 ] && printf 'Please run as root!\n' && exit 1 - ver="$1" [ -z "$ver" ] && printf 'use: %s \n' "${0##*/}" && exit 1