grav-plugin-admin
grav-plugin-admin copied to clipboard
In Grav 1.7, admin must follow http_x_forwarded
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.
I am also seeing this issue. Did you find a resolution?
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.