Hi, I have a problem with NGINX that I can't seem to resolve. I figured this would be the best place to ask =]
I have HAProxy doing ssl offloading, set the forward-for-header, and the x-forwarded-proto header.
Almost everything works with my config. The problem I'm having is accessing my website without a trailing slash '/'.
Normally without https, the url will have the slash added by 'try_files', then the index adds index.php. But now with HAProxy in front, nginx seems to be redirecting https://example.com to http://example.com/index.php
Is there an elegant solution to this, like a way to tell nginx when the $scheme is actually different then it thinks?
Thanks for the help!!!