rename riot to element also in nginx file

This commit is contained in:
creme 2024-12-26 16:49:53 +01:00
parent 3571cff740
commit 6e9c6ee5ce
No known key found for this signature in database
GPG Key ID: C147C3B7FBDF08D0
2 changed files with 2 additions and 4 deletions

View File

@ -19,7 +19,7 @@ server {
include snippets/ssl.conf; include snippets/ssl.conf;
root /opt/Riot/resources/webapp/; root /opt/element/resources/webapp/;
index index.html; index index.html;
location = /index.html { location = /index.html {
@ -37,7 +37,7 @@ server {
} }
} }
#ALIAS #ALIAS
server { server {
listen 80; listen 80;
listen [::]:80; listen [::]:80;

View File

@ -1,7 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
[ "$(id -u)" -ne 0 ] && printf 'Please run as root!\n' && exit 1
ver="$1" ver="$1"
[ -z "$ver" ] && printf 'use: %s <version>\n' "${0##*/}" && exit 1 [ -z "$ver" ] && printf 'use: %s <version>\n' "${0##*/}" && exit 1