Could people using auth-request please send me their actual nginx.conf files please?

If you are successfully using auth request, -please send me your actual
nginx.conf file.

I am a relative newbie on nginx and cgi programming so actual examples
will
be very helpful.

Thanks to all.

My email is: [email protected]

On 21 October 2012 13:57, Bob S. [email protected] wrote:

If you are successfully using auth request, -please send me your actual
nginx.conf file.

I’m not using this module but, reading its README, it seems trivially
replaceable with X-Accel-Redirect and an “internal” location.

I’ll be blogging our specific setup sometime soon, but in production
I’m basically using a modified version of what’s described here:
http://ls4.sourceforge.net/doc/howto/ddt.html.

For us, it works reliably, efficiently, without a 3rd party module,
delivering gigs of data a day.
I literally can’t see what extra that module gives you.

Regards,
Jonathan

Jonathan M. // Oxford, London, UK

That link is dead.

Also, I am trying to use auth_request to provide access to a protected
directory, whereas it looks like X-Accel-Redirect is used to
provide download access to a particular file.

Bob S.

On Sun, Oct 21, 2012 at 12:29 PM, Jonathan M.
<[email protected]

On 24 October 2012 13:23, Bob S. [email protected] wrote:

That link is dead.

Works for me.

[email protected]:~$ curl -I http://ls4.sourceforge.net/doc/howto/ddt.html
HTTP/1.1 200 OK
Server: Apache/2.2.15 (CentOS)
Vary: Host
Last-Modified: Mon, 11 Apr 2011 09:36:27 GMT
ETag: “2ab2-4a0a14f45dcc0”
Accept-Ranges: bytes
Content-Length: 10930
[snip]

Also, I am trying to use auth_request to provide access to a protected
directory, whereas it looks like X-Accel-Redirect is used to provide
download access to a particular file.

Reading
http://mdounin.ru/hg/ngx_http_auth_request_module/file/a29d74804ff1/README
slightly more carefully, I understand the distinction you’re seeing. I
still think it’s trivially replaceable with X-Accel-Redirect if you
are in control of the URI structure.

Do read that page I linked - it really can do this!

J

Jonathan M. // Oxford, London, UK
http://www.jpluscplusm.com/contact.html

2012/10/24 Jonathan M. [email protected]:

Do read that page I linked - it really can do this!

I can confirm, that this link
http://ls4.sourceforge.net/doc/howto/ddt.html isn’t dead.
Maybe you can do a search for “Direct Data Transfer using Nginx’s
X-Accel-Redirect” (header), “LS4 v1.0.0 documentation” (title) and
Sourceforge :wink:

Regards, Andre J.

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