From: Christian Heller Date: Sun, 27 Aug 2023 02:17:58 +0000 (+0200) Subject: Improve website setup. X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/%7B%7B%20web_path%20%7D%7D/%7B%7Bprefix%7D%7D/balance?a=commitdiff_plain;h=e8069404cf5492a7204d0864ddfbb0047972d8e3;p=config Improve website setup. --- diff --git a/bookworm/setup_scripts/setup_web.sh b/bookworm/setup_scripts/setup_web.sh index 7f2c5a2..a5b5838 100755 --- a/bookworm/setup_scripts/setup_web.sh +++ b/bookworm/setup_scripts/setup_web.sh @@ -6,8 +6,8 @@ expect_n_args 1 "(domain name)" "$@" domain="$1" # Install configs, set up firewall. -./install_for_target.sh web -./copy_dirtree.sh "${config_tree_prefix}/etc_files" "" web +./install_for_target.sh web static_websites +./copy_dirtree.sh "${config_tree_prefix}/etc_files" "" web static_websites nft -f /etc/nftables.conf # Set up letsencrypt certificate. TODO: Is it auto-renewed?