mirror of
https://github.com/GrapheneOS/matrix.grapheneos.org.git
synced 2025-09-20 20:34:47 -04:00
add element.grapheneos.org domain
This commit is contained in:
parent
3d99bfadd3
commit
b7952c7ce0
1 changed files with 11 additions and 1 deletions
|
@ -78,12 +78,22 @@ http {
|
|||
|
||||
root /var/empty;
|
||||
|
||||
return 301 https://matrix.grapheneos.org$request_uri;
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl http2 backlog=4096;
|
||||
listen [::]:443 ssl http2 backlog=4096;
|
||||
server_name element.grapheneos.org;
|
||||
|
||||
root /usr/share/webapps/element;
|
||||
|
||||
include snippets/security-headers.conf;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
server_name matrix.grapheneos.org;
|
||||
|
||||
root /var/empty;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue