X-Git-Url: https://plomlompom.com/repos/?p=config;a=blobdiff_plain;f=bookworm%2Fsetup_scripts%2Fsetup_web.sh;fp=bookworm%2Fsetup_scripts%2Fsetup_web.sh;h=c9cc0ac0c11cf6daa9556009d40a0eb5634c349d;hp=a2e672f684899ce51620f7ba1090cb91192a900c;hb=eed48f51206c40b89f172d0aad2c20536b789fb6;hpb=08838d2da7076e05599a9076ed18da056d380cc8 diff --git a/bookworm/setup_scripts/setup_web.sh b/bookworm/setup_scripts/setup_web.sh index a2e672f..c9cc0ac 100755 --- a/bookworm/setup_scripts/setup_web.sh +++ b/bookworm/setup_scripts/setup_web.sh @@ -12,6 +12,8 @@ domain="$1" ./copy_dirtree.sh "${config_tree_prefix}/etc_files" "" web nft -f /etc/nftables.conf +chown plom /var/www + # # Set up letsencrypt certificate. TODO: Is it auto-renewed? # ln -sf /etc/nginx/sites-available/default /etc/nginx/sites-enabled/default # certbot --nginx --agree-tos --redirect --no-eff-email -m "${mail}" -d "${domain}"