0

i am trying to put nginx as a application server for magento with varnish being on top and pound as ssl termination , problem is the whole setup result to nasty redirect loop. using apache and adding "SetEnvIf X-Forwarded-Proto https HTTPS=on" in .htacess save the day . still need to run it on nginx, can some one please provide the solution for the same .

  • Possible duplicate of Magento wrongly redirects https! – MagenX Jul 25 '16 at 14:14
  • wiki.deimos.fr/… – MagenX Jul 25 '16 at 14:16
  • Welcome to Magento SE. Please share more information about your current setup. "save the day" sound like you managed to solve the problem. So what exactly is your configuration right now and how does the system misbehave? – Fabian Schmengler Jul 25 '16 at 14:44
0

Why do you need to overcomplicate things so much? Get rid of pound. Use Nginx for SSL termination:

SSL request flow: Nginx -> Varnish -> Nginx (80) -> PHP-FPM

Normal request: Varnish -> Nginx (80) -> PHP-FPM

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.