Hi Frans,
I lodged the original issue about this. What I have done is set the proxy-base url for the workspace and left the Global proxy-base url unset. This allows me to access the admin pages.
From: Frans Fierens fierens@anonymised.com
Sent: Wednesday, 3 August 2022 2:26 AM
To: Andrea Aime andrea.aime@anonymised.com
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] problem with Proxy Base URL as from version 2.19
Thanks Andrea,
I already tried to configure the nginx but without success. It would be interesting to get more info on the nginx config. There are also other issues to deal when using this option: you give internet access to the admin pages (which I would prefer not to do).
best regards,
Frans
On 02/08/2022 18:09, Andrea Aime wrote:
Hi Frans,
maybe it just requires a different set up? These two servers are using nginx proxying, and a proxy base URL,
but the UI works, as you can see:
https://gs-main.geosolutionsgroup.com/geoserver/web/
http://gs-stable.geosolutionsgroup.com/geoserver/web/
One is a 2.20.x, the other is a nightly build from the developer series.
Unfortunately I don’t know exactly how they are set up NGINX wise, but I can tell you the proxy base URL configured in GeoServer
is simple, e.g. “https://gs-main.geosolutionsgroup.com/geoserver/”
Cheers
Andrea
On Tue, Aug 2, 2022 at 3:10 PM Frans Fierens <fierens@anonymised.com> wrote:
Hello,
I do have the same problem as posted in:
https://sourceforge.net/p/geoserver/mailman/message/37250476/
When geoserver is behind a reverse proxy as nginx and when “Proxy Base
URL” is not empty in the global setting, it is not possible to access
the web user interface anymore. I also did some tests, and this issue
starts at version 2.19.
This is very annoying.
When “Proxy Base URL” is empty, you can login to the webui, but a wfs or
wms?request=GetCapabilities&service will not be given the correct xlinks
( xlink:href=“https://proxy_url_name/wfs”) but will show
(xlink:href=“http://servername:8080/geoserver/wfs (or wms)”)
When “Proxy Base URL” is not empty (https://proxy_url_name), then it is
not possible to login via the webinterface.
Is it possible to solve this?
thanks.
Frans Fierens
Geoserver-users mailing list
Please make sure you read the following two resources before posting to this list:
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
–
Regards,
Andrea Aime
== GeoServer Professional Services from the experts!
Visit http://bit.ly/gs-services-us for more information. == Ing. Andrea Aime @geowolf Technical Lead
GeoSolutions Group phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549
https://www.geosolutionsgroup.com/
http://twitter.com/geosolutions_it
Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia. This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail
--
Frans Fierens [<fierens@anonymised.com>](mailto:fierens@anonymised.com)
Medewerker van de Vlaamse Milieumaatschappij (VMM, [http://www.vmm.be](https://aus01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.vmm.be%2F&data=05%7C01%7Cgraham.humphries%40stategrowth.tas.gov.au%7C44b6a4196cde468dde9808da74a3e9a2%7C64ebab8accf44b5ca2d32b4e972d96b2%7C0%7C0%7C637950544616391380%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=heqFTVJNkgNWyEMJOf4pHvWL%2FbimWVfdVLLprTqLrwo%3D&reserved=0)) aangesteld bij de Intergewestelijke Cel voor het Leefmilieu (IRCEL).
--
Intergewestelijke Cel voor het Leefmilieu (IRCEL)
Gaucheretstraat 92-94
1030 Brussel
[http://www.irceline.be](https://aus01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.irceline.be%2F&data=05%7C01%7Cgraham.humphries%40stategrowth.tas.gov.au%7C44b6a4196cde468dde9808da74a3e9a2%7C64ebab8accf44b5ca2d32b4e972d96b2%7C0%7C0%7C637950544616391380%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=A97jxYizBdYC%2F%2Fk9YK6BThhGgibMqI43zRNgVYrwlGA%3D&reserved=0)
[http://twitter.com/SMOG_BE](https://aus01.safelinks.protection.outlook.com/?url=http%3A%2F%2Ftwitter.com%2FSMOG_BE&data=05%7C01%7Cgraham.humphries%40stategrowth.tas.gov.au%7C44b6a4196cde468dde9808da74a3e9a2%7C64ebab8accf44b5ca2d32b4e972d96b2%7C0%7C0%7C637950544616391380%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=BYMwOtrAmIx9EChhpk42MqnUya0wNZdg1TwVuxWRYUM%3D&reserved=0)
[https://www.facebook.com/ircel.celine](https://aus01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.facebook.com%2Fircel.celine&data=05%7C01%7Cgraham.humphries%40stategrowth.tas.gov.au%7C44b6a4196cde468dde9808da74a3e9a2%7C64ebab8accf44b5ca2d32b4e972d96b2%7C0%7C0%7C637950544616391380%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=1ADJes272Crpk50aSOHroivzBkVusnOzR08vO2UFNY4%3D&reserved=0)
Tel 00 32(0)2 227 56 71
GSM 00 32(0)494 62 91 40
Skype Frans_JMC.Fierens
CONFIDENTIALITY NOTICE AND DISCLAIMER
The information in this transmission may be confidential and/or protected by legal professional privilege, and is intended only for the person or persons to whom it is addressed. If you are not such a person, you are warned that any disclosure, copying or dissemination of the information is unauthorised. If you have received the transmission in error, please immediately contact this office by telephone, fax or email, to inform us of the error and to enable arrangements to be made for the destruction of the transmission, or its return at our cost. No liability is accepted for any unauthorised use of the information contained in this transmission.