From: Christian Heller <c.heller@plomlompom.de>
Date: Thu, 19 Mar 2020 22:53:24 +0000 (+0100)
Subject: Fix.
X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/%22https:/validator.w3.org/ledger?a=commitdiff_plain;h=a0cf0e7e4dc97f6fb935acad2742abb0d1cd8dfd;p=config

Fix.
---

diff --git a/buster/setup_scripts/setup_website.sh b/buster/setup_scripts/setup_website.sh
index a9909fb..f060f0d 100755
--- a/buster/setup_scripts/setup_website.sh
+++ b/buster/setup_scripts/setup_website.sh
@@ -12,7 +12,7 @@ mail="$2"
 
 # Install configs, set up firewall.
 config_tree_prefix="${HOME}/config/buster"
-./install_for_target.sh web
+./install_for_target.sh web website
 ./copy_dirtree.sh "${config_tree_prefix}/etc_files" "" web website
 nft -f /etc/nftables.conf
 
@@ -31,6 +31,6 @@ chown plom:plom /var/repos
 # Prepare NGINX and GitWeb config.
 sed -i "s/REPLACE_fqdn_ECALPER/${domain}/g" /etc/gitweb.conf
 sed -i "s/REPLACE_fqdn_ECALPER/${domain}/g" /etc/nginx/sites-available/website.nginx
-ln -s /etc/nginx/sites-available/static.nginx /etc/nginx/sites-enabled/website.nginx
+ln -s /etc/nginx/sites-available/website.nginx /etc/nginx/sites-enabled/website.nginx
 
 service nginx restart