diff options
-rw-r--r-- | mkosi.extra/etc/apt/apt.conf.d/20auto-upgrades (renamed from mkosi.skeleton/etc/apt/apt.conf.d/20auto-upgrades) | 0 | ||||
-rw-r--r-- | mkosi.extra/etc/apt/apt.conf.d/50unattended-upgrades (renamed from mkosi.skeleton/etc/apt/apt.conf.d/50unattended-upgrades) | 0 | ||||
-rw-r--r-- | mkosi.extra/etc/nginx/sites-available/cgit (renamed from mkosi.skeleton/root/nginx.git.dnns.no) | 5 | ||||
-rwxr-xr-x | mkosi.postinst | 3 |
4 files changed, 2 insertions, 6 deletions
diff --git a/mkosi.skeleton/etc/apt/apt.conf.d/20auto-upgrades b/mkosi.extra/etc/apt/apt.conf.d/20auto-upgrades index 4c725ab..4c725ab 100644 --- a/mkosi.skeleton/etc/apt/apt.conf.d/20auto-upgrades +++ b/mkosi.extra/etc/apt/apt.conf.d/20auto-upgrades diff --git a/mkosi.skeleton/etc/apt/apt.conf.d/50unattended-upgrades b/mkosi.extra/etc/apt/apt.conf.d/50unattended-upgrades index 768347b..768347b 100644 --- a/mkosi.skeleton/etc/apt/apt.conf.d/50unattended-upgrades +++ b/mkosi.extra/etc/apt/apt.conf.d/50unattended-upgrades diff --git a/mkosi.skeleton/root/nginx.git.dnns.no b/mkosi.extra/etc/nginx/sites-available/cgit index a43e4fb..c243ec9 100644 --- a/mkosi.skeleton/root/nginx.git.dnns.no +++ b/mkosi.extra/etc/nginx/sites-available/cgit @@ -1,10 +1,7 @@ server { listen 8305 default_server; listen [::]:8305 default_server; - server_name git.dnns.no; - - access_log /var/log/nginx/git.dnns.no-access.log; - error_log /var/log/nginx/git.dnns.no-error.log; + server_name cgit; location / { fastcgi_pass unix:/run/fcgiwrap.socket; diff --git a/mkosi.postinst b/mkosi.postinst index d1b1ed9..7e22768 100755 --- a/mkosi.postinst +++ b/mkosi.postinst @@ -15,6 +15,5 @@ groupadd --gid 997 --system git useradd --home-dir /var/lib/gitolite3 --system --gid 997 git adduser www-data git -mv /root/nginx.git.dnns.no /etc/nginx/sites-available/git.dnns.no rm /etc/nginx/sites-enabled/default -ln -s /etc/nginx/sites-available/git.dnns.no /etc/nginx/sites-enabled/ +ln -s /etc/nginx/sites-available/cgit /etc/nginx/sites-enabled/ |