mirror of
https://git.envs.net/envs/matrix-conf.git
synced 2025-01-11 10:29:25 -05:00
rename riot to element also in nginx file
This commit is contained in:
parent
3571cff740
commit
6e9c6ee5ce
@ -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;
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user