bundles/gitea: use generic vhost name

This commit is contained in:
Franzi 2021-07-09 15:55:31 +02:00
parent 4a30aeaab6
commit 95c5e0b6ea
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -57,7 +57,8 @@ def nginx(metadata):
return { return {
'nginx': { 'nginx': {
'vhosts': { 'vhosts': {
metadata.get('gitea/domain'): { 'gitea': {
'domain': metadata.get('gitea/domain'),
'locations': { 'locations': {
'/': { '/': {
'target': 'http://127.0.0.1:22000', 'target': 'http://127.0.0.1:22000',