GithubHelp home page GithubHelp logo

Comments (6)

will-in-wi avatar will-in-wi commented on September 3, 2024

I'm not familiar with Django, but I assume that there is a folder containing files which are served directly by Apache. You need to make sure that is the folder you are passing in --public.

Some more info here: https://github.com/will-in-wi/letsencrypt-webfaction/wiki/Troubleshooting

If that doesn't work, or you figure it out, post back with what you did. I'm collecting a set of notes for specific setups, and I'd love to add Django to the list.

Thanks!

from letsencrypt-webfaction.

will-in-wi avatar will-in-wi commented on September 3, 2024

From reading the Django docs, I made my best guess at instructions: https://github.com/will-in-wi/letsencrypt-webfaction/wiki/Django

Feel free to give it a shot, and let me know if I should modify the instructions.

from letsencrypt-webfaction.

will-in-wi avatar will-in-wi commented on September 3, 2024

Have you had any success with getting this to work?

from letsencrypt-webfaction.

diopib avatar diopib commented on September 3, 2024

I faced the same issue and I have found a workaround:

  1. activate https on the django app website
  2. add a new static app and create the associated website with the same domain but no ssl
  3. use the command with the static app root dir (--public ~/webapps/new_static_app)

After that an email should be sent to support to install the certificate for the specified domain. Et voila.
You can use the newly created static app to redirect http traffic to https as described here

Thanks @will-in-wi for this useful code :)

from letsencrypt-webfaction.

will-in-wi avatar will-in-wi commented on September 3, 2024

Thanks for documenting this! I'll try and add this to https://github.com/will-in-wi/letsencrypt-webfaction/wiki/Django when I get some time.

from letsencrypt-webfaction.

Nelkit avatar Nelkit commented on September 3, 2024

Very good solution. It works perfect, thanks

from letsencrypt-webfaction.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.