[Geoserver-users] URL domain becomes localhost:8080 when login

Good morning,
I work with geoserver 2.21.1 and Jetty (debian)
The home page loads fine: https://SERVER_NAME.fr/geoserver/web/?0.
But when I log in (with id/pswd), there is a problem. The URL becomes http://localhost:8080/geoserver/j_spring_security_check.

Do you know why it becomes “localhost:8080” instead of keeping the server name?
Thanks a lot for your help.

Hi Laurent,

You are probably missing ProxyBaseURL settings inside the Global settings

Regards,
A-
Il 17 feb 2023, 11:18 +0100, celati Laurent <laurent.celati@anonymised.com>, ha scritto:

Good morning,
I work with geoserver 2.21.1 and Jetty (debian)
The home page loads fine: https://SERVER_NAME.fr/geoserver/web/?0.
But when I log in (with id/pswd), there is a problem. The URL becomes http://localhost:8080/geoserver/j_spring_security_check.

Do you know why it becomes "localhost:8080" instead of keeping the server name?
Thanks a lot for your help.

_______________________________________________
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

Perhaps you just need to set the host name on the operating system level.

Or perhaps set it in the jetty webroot .

On 17 Feb 2023 9:08 pm, celati Laurent <laurent.celati@…84…> wrote:

Good morning,
I work with geoserver 2.21.1 and Jetty (debian)
The home page loads fine: https://SERVER_NAME.fr/geoserver/web/?0.
But when I log in (with id/pswd), there is a problem. The URL becomes http://localhost:8080/geoserver/j_spring_security_check.

Do you know why it becomes “localhost:8080” instead of keeping the server name?
Thanks a lot for your help.