Have you done this? <#proxy>Proxy
To support the reverse proxy setup we need to add this as per documentation <https://docs.geoserver.org/latest/en/user/security/webadmin/csrf.html> nano /opt/tomcat/latest/webapps/geoserver/WEB-INF/web.xmlsystemctl restart tomcat ADD this: <!--Added by Vera to support reverse proxy--> <context-param> <param-name>GEOSERVER_CSRF_WHITELIST</param-name> <param-value>subdomain.domain.com</param-value> </context-param> Hope that helps. Vera On Fri, Jan 15, 2021 at 12:08 PM Joe Murphy <joseph.b.murp...@gmail.com> wrote: > Hello, > > I'm working on moving our Geoserver 2.15.4 instance behind a Spring Cloud > Gateway instance. These are all running in a standalone Docker instance on > a local server. I've been able to get the requests for map data working > fine. However the Admin interface is not functioning correctly. I can bring > up the login page, but when I try to log in, it's not maintaining the route > from the reverse proxy. > > So instead of POSTing to https://HOST/geoserver-admin/xxxx, it's going to > https://HOST/xxxx, which is failing. > > My assumption is that I'll be able to pick up the X-Forwarded-* headers > from the proxy, but what I can't figure out is how to update Tomcat and/or > Geoserver configuration to pick up these headers. > > I've configured a standard route for the gateway that is routing correctly > for api requests, its just the admin ui that I'm having issues with. I just > wasn't sure if there was something I wasn't understanding related to the > gateway. Like I said my assumption is all I should need on the gateway side > is to add the XForwarded filter to the route. > > Thanks! > Joe > _______________________________________________ > Geoserver-users mailing list > > Please make sure you read the following two resources before posting to > this list: > - Earning your support instead of buying it, but Ian Turton: > http://www.ianturton.com/talks/foss4g.html#/ > - The GeoServer user list posting guidelines: > http://geoserver.org/comm/userlist-guidelines.html > > If you want to request a feature or an improvement, also see this: > https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer > > > Geoserver-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geoserver-users >
_______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users