X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=bookworm%2Fsetup_scripts%2Fsetup_web.sh;h=c9cc0ac0c11cf6daa9556009d40a0eb5634c349d;hb=HEAD;hp=a2e672f684899ce51620f7ba1090cb91192a900c;hpb=af7fbe96d9af13e1a5d2485351f5ca4ce2cf3ccd;p=config 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}"