0

Anyone knows how to use X-Accel-Redirect in Nginx ingress ( kubernetes), I need to redirect from location (/download-file/) to an internal folder in my app to return a file.

I really Appreciate your help!

Sara
  • 111
  • 1
  • 5
  • Did you take a look https://stackoverflow.com/questions/62533514/move-x-accel-redirect-pattern-for-protected-static-in-kubernetes-setup ? – Malgorzata Feb 16 '21 at 12:22
  • Yes, but unfortunately it didn't help, I want to redirect and return the files from one service. – Sara Feb 16 '21 at 13:22
  • Did you also take a look https://www.nginx.com/resources/wiki/start/topics/examples/x-accel/ https://kovyrin.net/2006/11/01/nginx-x-accel-redirect-php-rails/ https://github.com/michaelklishin/nginx-x-accel-redirect-example-application/blob/master/config/nginx.config.sample ? – Malgorzata Mar 10 '21 at 15:21

0 Answers0