nchan icon indicating copy to clipboard operation
nchan copied to clipboard

nchan_redis_pass in http context

Open neben opened this issue 6 years ago • 4 comments

What is the effect of specifying nchan_redis_pass in http context? I assumed it would be set for all servers and locations using nchan, but it wasn't.

neben avatar Mar 17 '19 15:03 neben

It functions just like proxy_pass -- that is, it's bound to specific locations, and is not inherited from a higher-level location or http{} block

slact avatar Mar 17 '19 15:03 slact

But proxy_pass cannot be set in an http block -- so what is the meaning/result of setting nchan_redis_pass in an http block?

neben avatar Mar 17 '19 20:03 neben

so what is the meaning/result of setting nchan_redis_pass in an http block?

I use it during development combined with some other development settings, but to the end user it has no purpose and should only be used in location{} blocks.

slact avatar Mar 18 '19 16:03 slact

Thanks for the info! Are there other options without effect if placed in http context? It would be great if you could update the documentation.

neben avatar Mar 21 '19 22:03 neben