grav-plugin-admin icon indicating copy to clipboard operation
grav-plugin-admin copied to clipboard

In Grav 1.7, admin must follow http_x_forwarded

Open drzraf opened this issue 3 years ago • 2 comments

With 1.7 I'm getting a reroll of https://github.com/getgrav/grav/issues/1095 / https://github.com/getgrav/grav-plugin-admin/issues/1981 where, after a successful login, I'm redirected to: <hostname>:<internal-port>/admin instead of <hostname>:<external-port>/admin

In Grav 1.7 I have to set http_x_forwarded.port: false to fix the routing for pages redirects doesn't keeps the admin plugin from mis-redirecting.

drzraf avatar Dec 29 '21 16:12 drzraf

I am also seeing this issue. Did you find a resolution?

chrgro avatar Jul 27 '23 19:07 chrgro

I too am seeing this, all because in HAproxy I'm using port 8443 as my ProxyProtocol port to nginx to grav. Cause you can't run ProxyProtocol on the same port. This is a very frustrating issue.

erenfro avatar Nov 13 '23 02:11 erenfro