23 lines
346 B
Text
23 lines
346 B
Text
|
#!/bin/sh
|
||
|
#
|
||
|
# TODO: Handle "$1".
|
||
|
|
||
|
set -e
|
||
|
|
||
|
#DEBHELPER#
|
||
|
|
||
|
# `certbot` *must* be installed by this package.
|
||
|
certbot \
|
||
|
--nginx \
|
||
|
--agree-tos \
|
||
|
--redirect \
|
||
|
--hsts \
|
||
|
--staple-ocsp \
|
||
|
--email renken+letsencrypt@shione.net \
|
||
|
-d shione.net \
|
||
|
-d www.shione.net \
|
||
|
-d git.shione.net
|
||
|
|
||
|
# Apply new nginx configuration.
|
||
|
deb-systemd-invoke restart nginx
|