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

Switch to Caddy on Docker #1132

Closed
jayfk opened this issue Apr 21, 2017 · 8 comments · Fixed by #1282
Closed

Switch to Caddy on Docker #1132

jayfk opened this issue Apr 21, 2017 · 8 comments · Fixed by #1282

Comments

@jayfk
Copy link
Collaborator

jayfk commented Apr 21, 2017

Caddy is so much easier to set up using let's encrypt than nginx. A perfect fit for Cookiecutter Django.

@webyneter
Copy link
Collaborator

@jayfk, I've heard "rumours" (yeah, sort of "some people say"-stuff) that Caddy is not yet ready for wide real-world adoptioin, or I am wrong?

@jayfk
Copy link
Collaborator Author

jayfk commented Apr 21, 2017

I've been using Caddy for a lot of smaller and mid-sized sites and I'm really happy with it. Djangopackages.org runs Caddy for ~6 months, no problems.

I wouldn't use it for very large sites, but the only reason is that nginx Plus offers some great enterprise features.

@webyneter
Copy link
Collaborator

@jayfk, what do you think about introducing a separate 'nginx-master' branch off of master for dedicated nginx support while migrating the mainline to Caddy to further cherrypick Caddy-unrelated master commits to nginx-master so keeping both options?

@webyneter
Copy link
Collaborator

@jayfk, even better: We could introduce these two mutually-exclusive cookiecutter-django template options, and stick with one branch.

@jayfk
Copy link
Collaborator Author

jayfk commented Apr 24, 2017

I'm -1 on that. Supporting multiple servers is a huge pain in the long run. Either Caddy or nginx.

I'm in huge favor of Caddy. It's simple, has a great config file format, supports Lets Encrypt with secure defaults out of the box and it's super easy to add basic load balancing capabilities. A prereq for #1133.

@pydanny @audreyr @luzfcb @burhan @theskumar @webyneter and everyone interested. Can I get a vote on that? 👍 for caddy, 👎 against it.

@webyneter
Copy link
Collaborator

@jayfk , I trust your experience wholeheartedly on this 😄.

@webyneter
Copy link
Collaborator

@jayfk, how is this going? Can I be of any help?

@bdrhoa
Copy link

bdrhoa commented May 14, 2018

Just for reference, I don't think caddy works on AWS when using and AWS Cert and load balancer. Here's a related article. https://msaizar.com/blog/cookiecutter-django-nginx-route-53-and-elb/

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 a pull request may close this issue.

3 participants