Forum: NGINX Feature Request: Supporting variables in fastcgi_pass

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
01ac0a21625f83cb6893c7d755eec9e0?d=identicon&s=25 Samuel Vogel (Guest)
on 2008-12-08 14:28
(Received via mailing list)
Hey guys,

About two months ago I tried to use variables in the fastcgi_pass
directive.
This didn't work and Igor pointed out that it is not supported yet, but
will be in the future.
I really would like to know how the state of this feature is, and if I
could accelerate the development by donating a little money to someone ?

Regards,
Samy
5640e332954fc0006aea97a155ce0afd?d=identicon&s=25 Igor Sysoev (Guest)
on 2008-12-10 14:47
(Received via mailing list)
Attachment: patch.fastcgi_var (5 KB)
On Mon, Dec 08, 2008 at 02:12:54PM +0100, Samuel Vogel wrote:

> About two months ago I tried to use variables in the fastcgi_pass directive.
> This didn't work and Igor pointed out that it is not supported yet, but
> will be in the future.
> I really would like to know how the state of this feature is, and if I
> could accelerate the development by donating a little money to someone ?

Try the attached patch.
It is against 0.7.26, but should be appropriate for 0.6.34.
01ac0a21625f83cb6893c7d755eec9e0?d=identicon&s=25 Samuel Vogel (Guest)
on 2008-12-10 19:37
(Received via mailing list)
Igor Sysoev schrieb:
> Try the attached patch.
> It is against 0.7.26, but should be appropriate for 0.6.34
Thanks a bunch Igor! I will try this out in the next couple of days!
I hope the patch makes it into nginx's main branch soon.

Regards,
Samy
5640e332954fc0006aea97a155ce0afd?d=identicon&s=25 Igor Sysoev (Guest)
on 2008-12-10 19:54
(Received via mailing list)
On Wed, Dec 10, 2008 at 07:24:49PM +0100, Samuel Vogel wrote:

> Igor Sysoev schrieb:
> >Try the attached patch.
> >It is against 0.7.26, but should be appropriate for 0.6.34
> Thanks a bunch Igor! I will try this out in the next couple of days!
> I hope the patch makes it into nginx's main branch soon.

It's already commited to the next 0.7.27.
This topic is locked and can not be replied to.