aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/shione/nginx/create_nginx_user.sh
diff options
context:
space:
mode:
authorRenken <renken@shione.net>2023-12-24 23:44:41 +0100
committerRenken <renken@shione.net>2024-02-20 22:54:05 +0100
commit81b8b02ac9486a1e5248b56351712059faede632 (patch)
treef5567232ef1b4ed21787a2712a9e942aee0889e7 /deploy/shione/nginx/create_nginx_user.sh
parent5c25b1d0e778a2a5f20f6ce5b07e2ae272abf613 (diff)
downloadshione-81b8b02ac9486a1e5248b56351712059faede632.tar.gz
shione-81b8b02ac9486a1e5248b56351712059faede632.zip
config, deploy: shione: nginx: enable https support
Diffstat (limited to 'deploy/shione/nginx/create_nginx_user.sh')
-rw-r--r--deploy/shione/nginx/create_nginx_user.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/deploy/shione/nginx/create_nginx_user.sh b/deploy/shione/nginx/create_nginx_user.sh
index 8d5f13d..ebddaa5 100644
--- a/deploy/shione/nginx/create_nginx_user.sh
+++ b/deploy/shione/nginx/create_nginx_user.sh
@@ -3,3 +3,7 @@
set -eu
adduser --system --no-create-home --verbose --debug nginx
+
+apt install nginx certbot python3-certbot-nginx
+
+certbot --nginx -d shione.net -d www.shione.net