Closed benoitblanc closed 4 years ago
Hi,
I managed to start my wsgi service and navigate through templates files.
I added --mount
option when I start service with UWSGI :
uwsgi --mount /auth=server.py --callable app --manage-script-name --socket /tmp/dbauth.sock --chmod-socket=666
And I modified nginx location with uwsgi params :
...
location /auth/ {
include uwsgi_params;
uwsgi_pass unix:/tmp/dbauth.sock;
}
...
Hope it could help
Hello,
I am trying since few days to use qwc-services and authentication. I have my own QGIS Server instance and QWC2 app running in my localhost.
I created my db like in https://github.com/qwc-services/qwc-config-db.
Then I created virtual environment and install requirements in qwc-db-auth.
I started service with uwsgi and I created location in nginx conf
I can access to my QWC2 application with
http://localhost
and I have access to qwc-db-auth templates files if I enter URLhttp://localhost/auth/login
orhttp://localhost/auth/password/new
. I can also log in with admin user.The problem is that I can not navigate through templates files because there are wrong URLs (
http://localhost/password/new
) and 404 error occurs.Is there something I am missing for the configuration of my service(s) ?
Any help to configure qwc-services without docker is welcome :smiley:
Thanks,
Benoît