mirror of
https://git.envs.net/envs/matrix-conf.git
synced 2024-10-01 07:35:35 -04:00
add element client config
This commit is contained in:
parent
490b2ecba7
commit
0829b44a28
47
etc/nginx/sites-available/element.envs.net.conf
Normal file
47
etc/nginx/sites-available/element.envs.net.conf
Normal file
@ -0,0 +1,47 @@
|
||||
server {
|
||||
listen 80;
|
||||
#listen [::]:80;
|
||||
server_name element.envs.net;
|
||||
|
||||
location / {
|
||||
return 302 https://$host$request_uri;
|
||||
}
|
||||
|
||||
location /.well-known/acme-challenge/ {
|
||||
alias /var/lib/letsencrypt/.well-known/acme-challenge/;
|
||||
}
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
#listen [::]:443 ssl;
|
||||
server_name element.envs.net;
|
||||
|
||||
include snippets/ssl.conf;
|
||||
|
||||
root /opt/Riot/resources/webapp/;
|
||||
index index.html;
|
||||
}
|
||||
|
||||
#ALIAS
|
||||
server {
|
||||
listen 80;
|
||||
server_name riot.envs.net;
|
||||
|
||||
location / {
|
||||
return 302 https://element.envs.net$request_uri;
|
||||
}
|
||||
|
||||
location /.well-known/acme-challenge/ {
|
||||
alias /var/lib/letsencrypt/.well-known/acme-challenge/;
|
||||
}
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
server_name riot.envs.net;
|
||||
|
||||
include snippets/ssl.conf;
|
||||
|
||||
return 302 https://element.envs.net$request_uri;
|
||||
}
|
1
etc/nginx/sites-enabled/element.envs.net.conf
Symbolic link
1
etc/nginx/sites-enabled/element.envs.net.conf
Symbolic link
@ -0,0 +1 @@
|
||||
../sites-available/element.envs.net.conf
|
1
etc/nginx/sites-enabled/matrix.envs.net.conf
Symbolic link
1
etc/nginx/sites-enabled/matrix.envs.net.conf
Symbolic link
@ -0,0 +1 @@
|
||||
../sites-available/matrix.envs.net.conf
|
Loading…
Reference in New Issue
Block a user