wip
This commit is contained in:
parent
5172573448
commit
b2c9a0afd0
5 changed files with 30 additions and 1 deletions
|
@ -18,7 +18,7 @@ DOMAIN = ${domain}
|
||||||
HTTP_ADDR = 0.0.0.0
|
HTTP_ADDR = 0.0.0.0
|
||||||
HTTP_PORT = 3500
|
HTTP_PORT = 3500
|
||||||
ROOT_URL = https://${domain}/
|
ROOT_URL = https://${domain}/
|
||||||
DISABLE_SSH = false
|
DISABLE_SSH = true
|
||||||
SSH_PORT = 22
|
SSH_PORT = 22
|
||||||
LFS_START_SERVER = true
|
LFS_START_SERVER = true
|
||||||
LFS_CONTENT_PATH = /var/lib/gitea/data/lfs
|
LFS_CONTENT_PATH = /var/lib/gitea/data/lfs
|
||||||
|
|
6
bundles/islamicstate.eu/items.py
Normal file
6
bundles/islamicstate.eu/items.py
Normal 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',
|
||||||
|
}
|
12
bundles/islamicstate.eu/metadata.py
Normal file
12
bundles/islamicstate.eu/metadata.py
Normal 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
10
data/nginx/html.conf
Normal 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};
|
||||||
|
}
|
|
@ -10,6 +10,7 @@
|
||||||
'dnsserver',
|
'dnsserver',
|
||||||
],
|
],
|
||||||
'bundles': [
|
'bundles': [
|
||||||
|
'islamicstate.eu',
|
||||||
'wireguard',
|
'wireguard',
|
||||||
'zfs',
|
'zfs',
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in a new issue