Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix on ssl certs auto-renew [issue #24] #27

Merged
merged 3 commits into from
Dec 14, 2022
Merged

Conversation

Dophy6
Copy link
Contributor

@Dophy6 Dophy6 commented Oct 5, 2022

Closes: #24

There was a blocking call to nginx in entrypoint.sh file before the execution of crond -f. Also there were some missing packages to make alpine crons work in Dockerfile.

@smallwat3r
Copy link
Owner

@Dophy6 thanks for creating this!

I'll test and review as soon as I can.

@smallwat3r smallwat3r self-requested a review October 8, 2022 12:15
Copy link
Owner

@smallwat3r smallwat3r left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Dophy6

Thanks for submitting this PR, and sorry for delay to review it!

I was able to test this on one of my servers, and this seems to be working like a charm. Great investigation work!

Requesting a few changes regarding formatting, and I think this will be good to go 🎉

nginx/bin/entrypoint.sh Outdated Show resolved Hide resolved
nginx/Dockerfile Outdated Show resolved Hide resolved
@@ -2,7 +2,8 @@
FROM nginx:1.19-alpine

# Install certbot for letsencrypt certificates
RUN apk add --no-cache certbot
# Install also an init handler for alpine cron
RUN apk add --no-cache certbot openrc busybox-initscripts
Copy link
Owner

@smallwat3r smallwat3r Dec 2, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding this!

Dophy6 and others added 2 commits December 14, 2022 11:24
Co-authored-by: Matthieu Petiteau <matt@smallwat3r.com>
Co-authored-by: Matthieu Petiteau <matt@smallwat3r.com>
@Dophy6
Copy link
Contributor Author

Dophy6 commented Dec 14, 2022

Hi @smallwat3r I accepted all your suggestions, hoping this will help the community, have a nice day!

@smallwat3r smallwat3r self-requested a review December 14, 2022 18:14
Copy link
Owner

@smallwat3r smallwat3r left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks @Dophy6!

@smallwat3r smallwat3r merged commit f18e100 into smallwat3r:master Dec 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Certificates do not renew automatically
2 participants