nodes/htz.ex42-1048908: more nginx vhosts

This commit is contained in:
Franzi 2020-06-01 13:33:33 +02:00
parent 5f804ca3be
commit 1e475d8638
Signed by: kunsi
GPG key ID: 12E3D2136B818350
4 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,4 @@
location /.well-known/matrix/ {
alias /etc/matrix-synapse/wellknown/;
add_header Access-Control-Allow-Origin *;
}

View file

@ -0,0 +1,9 @@
location / {
return 301 https://franzi.business$request_uri;
}
location /.well-known/openpgpkey/ {
alias /var/www/kunsmann.eu/.well-known/openpgpkey/;
default_type application/octet-stream;
add_header Access-Control-Allow-Origin * always;
}

View file

@ -0,0 +1,5 @@
autoindex on;
location = / {
autoindex off;
}