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

334
Views
nginx - gunicorn - django allauth redirigir al problema 127.0.0.1, ¿cómo puedo resolver esto?

Quiero implementar mi aplicación django con nginx-gunicorn.

así que configuré nginx y gunicorn conf así.

 /etc/nginx/conf.d/default.conf included by /etc/nginx/nginx.conf server { listen 80; server_name my.domain.com; charset utf-8; location /static/ { root /home/flood/dj-eruces-ango; } location / { proxy_pass http://127.0.0.1:8000; #include proxy_params; #proxy_pass http://unix:/etc/systemd/system/gunicorn.socket; } }
 /etc/systemd/system/gunicorn.service [Unit] Description=gunicorn daemon After=network.target [Service] User=flood Group=www-data WorkingDirectory=/home/flood/dj-eruces-ango/ ExecStart=/home/flood/dj-eruces-ango/secure/bin/gunicorn \ --workers 2 \ --bind 0.0.0.0:8000 \ config.wsgi:application [Install] WantedBy=multi-user.target

y configuré mi API de autenticación social de Google en 'my.domain.com' y 'my.domain.com/auth/google/login/callback/'

pero cuando intento la autenticación social, el error ocurre a continuación.

Error 400: redirect_uri_mismatch http://127.0.0.1:8000/auth/google/login/callback/

Quiero resolver esto. muestre el problema localhost (no my.domain.com) y el problema redirect_uri_mismatch.

¿Cómo puedo probar?

over 4 years ago · Santiago Trujillo
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!