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;
}

View file

@ -85,11 +85,23 @@ nodes['htz.ex42-1048908'] = {
}, },
'nginx': { 'nginx': {
'vhosts': { 'vhosts': {
'franzi.business': {
'webroot': '/var/www/franzi.business/_site/',
'extras': True,
},
'jenkins.kunsmann.eu': { 'jenkins.kunsmann.eu': {
'proxy': { 'proxy': {
'/': 'http://localhost:9000/', '/': 'http://localhost:9000/',
}, },
}, },
'kunbox.net': {},
'kunsmann.eu': {
'extras': True,
},
'paste.kunsmann.eu': {
'extras': True,
},
'vliedel.random.franzi.business': {},
}, },
}, },
'riot-web': { 'riot-web': {