-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix on ssl certs auto-renew * Update nginx/bin/entrypoint.sh Co-authored-by: Matthieu Petiteau <[email protected]> * Update nginx/Dockerfile Co-authored-by: Matthieu Petiteau <[email protected]> Co-authored-by: Matthieu Petiteau <[email protected]>
- Loading branch information
1 parent
ee6ff80
commit f18e100
Showing
2 changed files
with
4 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#!/bin/sh | ||
|
||
certbot certonly --standalone -d $1 --email $2 -n --agree-tos --expand | ||
/usr/sbin/nginx -g "daemon off;" | ||
/usr/sbin/crond -f -d 8 & | ||
/usr/sbin/crond -f & | ||
/usr/sbin/nginx -g "daemon off;" # this is run in the foreground, so need to be last |