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

Separate TLS/Let's Encrypt from the rest of the setup/bootstrap process #21

Closed
eallrich opened this issue Mar 12, 2016 · 0 comments
Closed
Assignees

Comments

@eallrich
Copy link
Owner

scripts/setup currently handles the initial Nginx config, obtaining TLS certificates, updating Nginx to a secure config, and then proceeding with the rest of the setup. In my testing this particular combination is brittle and, although it works, I think there's a better way to arrange these tasks.

Perhaps create a scripts/prep_production script which can handle:

  • obtaining TLS certificates from Let's Encrypt
  • updating Nginx to a secure config
  • adding a cert renewal task to cron
  • configuring backups

This would enable a typical deploy to achieve full operability easily (i.e. the way scripts/setup was before implementing #10) and then the few remaining production-preparation activities can take place afterwards. The follow-on script could be manually invoked by the user, it could be executed automatically once the primary initialization completes, or it could be tied to an argument the user gives scripts/setup.

@eallrich eallrich self-assigned this Mar 12, 2016
eallrich added a commit that referenced this issue Mar 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant