Auth user with postgresql

Piotr Sikora piotr.sikora at
Fri Feb 17 19:27:40 UTC 2012


> The login and password is okay, but in my database passwords are
> stored in MD5, while the password is passed in the clear as I can
> solve the problem?

You can use "set_md5" directive from ngx_set_misc module [1]:

    set_md5 $remote_passwd; /* must be before postgres escape */
    postgres_escape $pass $remote_passwd;


Best regards,
Piotr Sikora < piotr.sikora at >

More information about the nginx mailing list