Hello folks! Recently I've been trying to setup trac with nginx+uwgsi+postgresql. So far so good. The only problem I'm facing right now is authentication. I downloaded the htpasswd.py script, created the user:password file but so far, nothing. When I click in login in my trac page, I just get this message:
Authentication information not available. Please refer to the
installation documentation.
TracGuide — The Trac User and Administration Guide
In my nginx there is the follow:
server {
... server stuff
location / {
#.. stuff
auth_basic "Secure Login";
auth_basic_user_file /path/to/passwdfile
fastcgi_param AUTH_USER $remote_user; # not sure if this is right
fastcgi_param REMOTE_USER $remote_user; # not sure if this is right
}
}
Am I on the right track? Do I need special setup in my uwsgi ini file? Is there a way to fetch the users authentication from the database instead of a local file? Is it recomended? Thanks.