home · contact · privacy
Fix.
authorChristian Heller <c.heller@plomlompom.de>
Thu, 19 Mar 2020 22:53:24 +0000 (23:53 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Thu, 19 Mar 2020 22:53:24 +0000 (23:53 +0100)
buster/setup_scripts/setup_website.sh

index a9909fb98dd7e55a902892c98c8b7b88a99e12a4..f060f0da3a6b2d2c4ba9482860f7cdb3a2d6de09 100755 (executable)
@@ -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