This commit is contained in:
mwiegand 2021-07-16 00:47:48 +02:00
parent 5172573448
commit b2c9a0afd0
5 changed files with 30 additions and 1 deletions

View file

@ -18,7 +18,7 @@ DOMAIN = ${domain}
HTTP_ADDR = 0.0.0.0
HTTP_PORT = 3500
ROOT_URL = https://${domain}/
DISABLE_SSH = false
DISABLE_SSH = true
SSH_PORT = 22
LFS_START_SERVER = true
LFS_CONTENT_PATH = /var/lib/gitea/data/lfs

View file

@ -0,0 +1,6 @@
directories['/var/www/islamicstate.eu'] = {}
git_deploy['/var/www/islamicstate.eu'] = {
'repo': 'https://git.sublimity.de/cronekorkn/islamicstate.eu.git',
'rev': 'master',
}

View file

@ -0,0 +1,12 @@
defaults = {
'nginx': {
'vhosts': {
'islamicstate.eu': {
'content': 'nginx/html.conf',
'context': {
'root': '/var/www/islamicstate.eu',
},
}
},
},
}

10
data/nginx/html.conf Normal file
View file

@ -0,0 +1,10 @@
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name ${server_name};
ssl_certificate /var/lib/dehydrated/certs/${server_name}/fullchain.pem;
ssl_certificate_key /var/lib/dehydrated/certs/${server_name}/privkey.pem;
root ${root};
}

View file

@ -10,6 +10,7 @@
'dnsserver',
],
'bundles': [
'islamicstate.eu',
'wireguard',
'zfs',
],