HTTP 502 Bad Gateway when trying to login in via admin for the first time
mehrad-rafigh opened this issue · comments
Hey guys,
I tried to install taiga on a vm, which fulfills the requirements of taiga. Everything is actually working, but when I try to log in for the first time as admin with 123123 as the password, I'll get the Bad Gateway Error. Did somebody experience the same thing and has an idea how to solve this? Any help is highly appreciated!
Can you show me your config.json file? Your taiga-front client can connect with your taiga-back server instance.
@bameda I already fixed it. It seemed that the error was inside the nginx taiga file. I manually added
# Django admin access (/admin/)
location /admin {
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Scheme $scheme;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://127.0.0.1:8001$request_uri;
proxy_redirect off;
}
and now it works again. This part was not automatically in my nginx configuration when the installation was finished.
Great! \o/
Hello @bameda
While i was going with this url http://localhost/api/v1 i am getting error in webpage
502 bad gateway
can you please help me