home
·
contact
·
privacy
projects
/
config
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improve website setup.
[config]
/
bookworm
/
setup_scripts
/
setup_web.sh
diff --git
a/bookworm/setup_scripts/setup_web.sh
b/bookworm/setup_scripts/setup_web.sh
index 7f2c5a2a7b4ce2f6603cdafaea14067ebc4626fe..a5b58382b95dbd03f107f63e1da177c91d778a02 100755
(executable)
--- 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.
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?
nft -f /etc/nftables.conf
# Set up letsencrypt certificate. TODO: Is it auto-renewed?