nodes/htz.ex42-1048908: more nginx vhosts
This commit is contained in:
parent
5f804ca3be
commit
1e475d8638
4 changed files with 30 additions and 0 deletions
4
data/nginx/files/extras/htz.ex42-1048908/franzi.business
Normal file
4
data/nginx/files/extras/htz.ex42-1048908/franzi.business
Normal file
|
@ -0,0 +1,4 @@
|
|||
location /.well-known/matrix/ {
|
||||
alias /etc/matrix-synapse/wellknown/;
|
||||
add_header Access-Control-Allow-Origin *;
|
||||
}
|
9
data/nginx/files/extras/htz.ex42-1048908/kunsmann.eu
Normal file
9
data/nginx/files/extras/htz.ex42-1048908/kunsmann.eu
Normal 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;
|
||||
}
|
|
@ -0,0 +1,5 @@
|
|||
autoindex on;
|
||||
|
||||
location = / {
|
||||
autoindex off;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue