nchan icon indicating copy to clipboard operation
nchan copied to clipboard

x-accel-redirect via another nginx instance

Open solofeed opened this issue 7 years ago • 4 comments

I have the case when nginx + nchan is microservice, and authorization is implemented in another microservice (nginx + fpm)

When proxy pass redirect the query to my nginx + fpm microservice, and I am returning header my nginx starting to handle this header and give a 404 error, instead of sending the response to the source of the request (nchan nginx)

solofeed avatar Nov 11 '18 16:11 solofeed

Right now I am using nchan_authorize_request, but in this case, the subscriber should know the name of the channel

solofeed avatar Nov 11 '18 16:11 solofeed

@solofeed try this one

haristku avatar Mar 21 '19 19:03 haristku

@solofeed Hi! Did you fix it? Because fix from @haristku didn't help me

CheAlex avatar May 23 '22 13:05 CheAlex

hi @CheAlex It was a quite long time ago 😅 , I think I used nchan_authorize_request

solofeed avatar May 23 '22 14:05 solofeed