Basic Auth - MySQL/PgSQL Backend

I was wondering what options are available for using BasicAuth using
Either MySQL or PostGres backend to store users.

Hi,

I was wondering what options are available for using BasicAuth using
Either MySQL or PostGres backend to store users.

You can do this with ngx_http_auth_request [1] with either ngx_drizzle
[2]
(for Drizzle/MariaDB/MySQL/Percona) or ngx_postgres [3] (for
PostgreSQL).

Working example for ngx_postgres is available in its README (Sample
configuration #4).

[1] http://mdounin.ru/hg/ngx_http_auth_request_module/
[2] https://github.com/chaoslawful/drizzle-nginx-module
[3] https://github.com/FRiCKLE/ngx_postgres

Best regards,
Piotr S. < [email protected] >

Thanks.

I didnt see the example in the README?
Sample #4?

Thanks Again.

David.

Hi,

I didnt see the example in the README?
Sample #4?

Then look again, it’s there.

Best regards,
Piotr S. < [email protected] >

I am not sure which readme you are referring to;

I see your name is listed here;

https://github.com/chaoslawful/drizzle-nginx-module

Is this the file you are talking about?

Thanks.

Hi,

I am not sure which readme you are referring to;

“Working example for ngx_postgres is available in its README (Sample
configuration #4).” should be self-explanatory :wink:

I see your name is listed here;

https://github.com/chaoslawful/drizzle-nginx-module

I’m listed in the other one as well.

Is this the file you are talking about?

Nope, I’m talking about ngx_postgres’s one.

Best regards,
Piotr S. < [email protected] >

Thanks.

I really appreciate it;

That (surprisingly!) was the only one I didnt look at.

Thanks again.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs