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

135
Views
Python3 Sanic + certificado SSL

En primer lugar, estoy haciendo esto por primera vez y sé que estoy perdido.

Quiero usar Python Sanic como Framework para mi sitio web. Pero TAMBIÉN quiero usar mi certificado SSL y mi Dominio. El método en los documentos de Sanic no funciona. Busqué en la web y encontré que necesito nginx o Apache2. Pero no tengo ni idea de qué hacer entonces.

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Probablemente sea mejor usar el proxy Nginx para esto. Pronto debería haber una guía completa sobre esto en https://sanic.readthedocs.io/en/latest/sanic/nginx.html (una vez que se reconstruyan los documentos, pronto).

Para habilitar la compatibilidad con SSL integrada,

 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!