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

213
Views
No se puede conectar al sitio web con el certificado LetsEncrypt - nginx

Me gustaría agregar un certificado SSL a mi aplicación Django. Seguí el tutorial , por lo que se cambió la configuración de nginx para el dominio, pero ahora parece que el certificado generado es incorrecto.

nginx conf antes de las modificaciones de certbot

 server { listen 80; listen [::]:80; server_name doamin.com www.domain.com; location = /favicon.ico { access_log off; log_not_found off; } location /static/ { root /home/poul3r/doamin.com; } location / { include proxy_params; proxy_pass http://unix:/run/gunicorn.sock; } }

y después de la acción de certbot

 server { server_name doamin.com www.doamin.com; location = /favicon.ico { access_log off; log_not_found off; } location /static/ { root /home/poul3r/doamin.com; } location / { include proxy_params; proxy_pass http://unix:/run/gunicorn.sock; } listen [::]:443 ssl ipv6only=on; # managed by Certbot listen 443 ssl; # managed by Certbot ssl_certificate /etc/letsencrypt/live/doamin.com/fullchain.pem; # managed by Certbot ssl_certificate_key /etc/letsencrypt/live/doamin.com/privkey.pem; # managed by Certbot include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot } server { if ($host = doamin.com) { return 301 https://$host$request_uri; } # managed by Certbot listen 80; listen [::]:80; server_name doamin.com www.doamin.com; return 404; # managed by Certbot }

¿Qué estoy haciendo mal o qué podría salir mal durante la implementación de letsencypt?

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Ya he encontrado solución para este problema. Información basada en la solución que me di cuenta, hay una aplicación más en nginx que no tiene certificación SSL pero redirige a 443. Cuando cambié la configuración de ellos para escuchar solo en 80, el primer dominio funciona correctamente.

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!