mirror of
https://github.com/wekan/wekan.git
synced 2025-04-23 13:37:09 -04:00
- Snap Caddy: set -agree flag for Let's Encrypt.
Thanks to halunk3 and xet7 !
This commit is contained in:
parent
5dd43fa147
commit
d50e78c787
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
|||
source $SNAP/bin/wekan-read-settings
|
||||
|
||||
if [ "$CADDY_ENABLED" = "true" ]; then
|
||||
env LC_ALL=C caddy -conf=$SNAP_COMMON/Caddyfile -host=localhost:${CADDY_PORT}
|
||||
env LC_ALL=C caddy -conf=$SNAP_COMMON/Caddyfile -host=localhost:${CADDY_PORT} -agree
|
||||
else
|
||||
echo "caddy is disabled. Stop service"
|
||||
snapctl stop --disable ${SNAP_NAME}.caddy
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue