Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

148
Views
Python3 Sanic + ssl certificate

First of all, I am doing this for the first time and I know that I am lost.

I want to use Python Sanic as the Framework for my website. But I ALSO want to use my SSL certificate and my Domain. The method in the Sanic docs doesn't work. I search in the web and found that I need nginx or Apache2. But I have no idea what to do then.

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

It is probably best to use Nginx proxy for this. There should soon be a complete guide to this at https://sanic.readthedocs.io/en/latest/sanic/nginx.html (once docs are rebuilt, soon).

To enable built-in SSL support,

app.run(host="0.0.0.0", port=443, ssl=dict(
    cert="/etc/letsencrypt/live/example.com/fullchain.pem",
    key="/etc/letsencrypt/live/example.com/privkey.pem",
))
over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!