Did you resolve this? If not look at the settings I mentioned in my recent email to the mailing list titled: GeoServer 2.19.2 reverse proxy to apache Error It shows all of my configurations for reverse proxy. Your architecture is different but it might be useful. Vera
On Wed, Jun 9, 2021 at 1:40 PM Kris Johnson via Geoserver-users < geoserver-users@lists.sourceforge.net> wrote: > Hi Andrea, > > Here is my apache proxy setup: > > ServerName nrri-atlas.d.umn.edu > > <Proxy *> > Allow from localhost > </Proxy> > > ProxyRequests Off > ProxyPreserveHost On > > ProxyPass /geoserver/ ${geos_url} > ProxyPassReverse /geoserver/ ${geos_url} > > I am proxying from an apache docker container to the geoserver container > running alongside it (thus the use of the "geos_url" environment variable). > > Setting a "proxy base URL" does not fix it. > "Use headers for proxy URL" is unchecked. > "Enable global services" is checked. > "Allow Per-Workspace Stored Queries" is checked. > > It's odd, because the path to the openlayers files (.js and .css) operates > fine when I use the tile layer preview ( > http://nrri-atlas.d.umn.edu/geoserver/gwc/demo/nra:cdl_2016?gridSet=EPSG:900913&format=image/png), > but not the layer preview. > > On Fri, Dec 11, 2020 at 11:48 AM Andrea Aime <andrea.a...@geo-solutions.it> > wrote: > >> Hi Kris, >> can you share your apache proxy setup? Part of the issue might be lying >> there. >> Also, check the output of a capabilities document, it's full of >> backlinks, those should be >> using right host,paths and scheme, but right now, they are not: >> >> >> https://nrri-atlas.d.umn.edu/geoserver/ows?service=wms&version=1.3.0&request=GetCapabilities >> >> contains: >> <OnlineResource xlink:type="simple" xlink:href=" >> http://nrri-atlas.d.umn.edu/geoserver/ows?SERVICE=WMS&"/> >> >> When you set the proxy base URL, make sure you have "user headers for >> proxy url" unchecked, unless you >> actually have the proxy sending those headers, see also: >> >> https://docs.geoserver.org/stable/en/user/configuration/globalsettings.html#use-headers-for-proxy-url >> >> Cheers >> Andrea >> >> >> On Fri, Dec 11, 2020 at 6:22 PM Kris Johnson <krist...@d.umn.edu> wrote: >> >>> Thank you for the responses. >>> >>> Our Geoserver is located behind an Apache proxy at >>> https://nrri-atlas.d.umn.edu/geoserver >>> I have tried this value for the "Proxy Base URL"--both with the trailing >>> slash (/) and without. >>> I have tried removing the value entirely. >>> Nothing seems to work to get the openlayers resources (ol.css and ol.js) >>> requesting the correct paths: >>> >>> https://nrri-atlas.d.umn.edu/geoserver/nra/wms?service=WMS&version=1.1.0&request=GetMap&layers=nra%3Aaverage_fwmc_nox&bbox=191236.928503762%2C4817930.1047429%2C720691.395227796%2C5436349.76309333&width=657&height=768&srs=EPSG%3A26915&format=application/openlayers >>> >>> For example, the path to ol.css is >>> https://nrri-atlas.d.umn.edu/openlayers3/ol.css, but it should be >>> https://nrri-atlas.d.umn.edu/geoserver/openlayers3/ol.css >>> >>> How to fix this? >>> >>> >>> On Fri, Dec 11, 2020 at 2:42 AM Andrea Aime < >>> andrea.a...@geo-solutions.it> wrote: >>> >>>> Hi Kris, >>>> I believe it was fixed a few months after tha mail: >>>> https://osgeo-org.atlassian.net/browse/GEOS-8504 >>>> >>>> This demo server uses a Tomcat sitting behind a SSL enabling reverse >>>> proxy, the preview seems to be working fine: >>>> https://tb16.geo-solutions.it/geoserver/web/ >>>> e.g.: >>>> >>>> https://tb16.geo-solutions.it/geoserver/oszoom/wms?service=WMS&version=1.1.0&request=GetMap&layers=oszoom%3Azoomstack-outdoor&bbox=-118397.00155160861%2C-15982.135610342928%2C751441.7791101651%2C1272149.3463547546&width=518&height=768&srs=EPSG%3A27700&styles=&format=application/openlayers >>>> >>>> Cheers >>>> Andrea >>>> >>>> On Thu, Dec 10, 2020 at 11:36 PM Kris Johnson via Geoserver-users < >>>> geoserver-users@lists.sourceforge.net> wrote: >>>> >>>>> Hello, >>>>> >>>>> I have the same issue as described here: >>>>> http://osgeo-org.1560.x6.nabble.com/Layer-Preview-OpenLayers-does-not-work-with-a-SSL-Reverse-Proxy-tt5397920.html#a5398155 >>>>> >>>>> I don't see a fix in this thread. Does anyone know of one? >>>>> >>>>> -- >>>>> Kris Johnson >>>>> GIS Instructor >>>>> Department of Geography, Urban and Environmental Sustainability Studies >>>>> University of Minnesota - Duluth >>>>> 324 Cina Hall >>>>> Duluth, MN 55812 >>>>> 218-726-6226 (office) | 612-618-2482 (cell) >>>>> Zoom meeting link: https://umn.zoom.us/j/7057588425 >>>>> ----------------------------------- >>>>> >>>>> GIS Researcher >>>>> >>>>> Natural Resources Research Institute (NRRI) >>>>> >>>>> 5013 Miller Trunk Hwy, Duluth, MN 55811 >>>>> >>>>> - - >>>>> >>>>> NRRI Mission: Deliver integrated research solutions that value our >>>>> resources, environment and economy for a sustainable and resilient future. >>>>> Find out more: NRRI website <https://www.nrri.umn.edu/> / Facebook >>>>> <https://www.facebook.com/Natural.Resources.Research.Institute> / >>>>> Twitter <https://twitter.com/UMDNRRI1> / Instagram >>>>> <https://www.instagram.com/umdnrri/> / YouTube >>>>> <https://www.youtube.com/user/NRRIResearch> / LinkedIn >>>>> <https://www.linkedin.com/company/natural-resources-research-institute/> >>>>> >>>>> NOTE: NRRI’s facilities are operating with limited access due to the >>>>> COVID-19 pandemic. Many personnel are working remotely. We will maintain >>>>> communications via email, phone and video conference as needed. Thank you! >>>>> _______________________________________________ >>>>> 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 >>>>> >>>> >>>> >>>> -- >>>> >>>> Regards, Andrea Aime >>>> >>>> == GeoServer Professional Services from the experts! Visit >>>> http://goo.gl/it488V for more information. == Ing. Andrea Aime >>>> @geowolf Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054 >>>> Massarosa (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 >>>> 8844549 http://www.geo-solutions.it 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.* >>>> >>> >>> >>> -- >>> Kris Johnson >>> GIS Instructor >>> Department of Geography, Urban and Environmental Sustainability Studies >>> University of Minnesota - Duluth >>> 324 Cina Hall >>> Duluth, MN 55812 >>> 218-726-6226 (office) | 612-618-2482 (cell) >>> Zoom meeting link: https://umn.zoom.us/j/7057588425 >>> ----------------------------------- >>> >>> GIS Researcher >>> >>> Natural Resources Research Institute (NRRI) >>> >>> 5013 Miller Trunk Hwy, Duluth, MN 55811 >>> >>> - - >>> >>> NRRI Mission: Deliver integrated research solutions that value our >>> resources, environment and economy for a sustainable and resilient future. >>> Find out more: NRRI website <https://www.nrri.umn.edu/> / Facebook >>> <https://www.facebook.com/Natural.Resources.Research.Institute> / >>> Twitter <https://twitter.com/UMDNRRI1> / Instagram >>> <https://www.instagram.com/umdnrri/> / YouTube >>> <https://www.youtube.com/user/NRRIResearch> / LinkedIn >>> <https://www.linkedin.com/company/natural-resources-research-institute/> >>> >>> NOTE: NRRI’s facilities are operating with limited access due to the >>> COVID-19 pandemic. Many personnel are working remotely. We will maintain >>> communications via email, phone and video conference as needed. Thank you! >>> >> >> >> -- >> >> Regards, Andrea Aime >> >> == GeoServer Professional Services from the experts! Visit >> http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf >> Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa >> (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 >> http://www.geo-solutions.it 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.* >> > > > -- > Kris Johnson > UEA <https://sites.google.com/d.umn.edu/uea-duluth/home> Member - GIS > Instructor > Geography Program > <https://cla.d.umn.edu/departments/geography-philosophy/geography> > University of Minnesota - Duluth > 324 Cina Hall > Duluth, MN 55812 > 218-726-6226 (office) | 612-618-2482 (cell) > Zoom meeting link: https://umn.zoom.us/j/7057588425 > ----------------------------------- > > GIS Researcher > > Natural Resources Research Institute (NRRI) > > 5013 Miller Trunk Hwy, Duluth, MN 55811 > > - - > > NRRI Mission: Deliver integrated research solutions that value our > resources, environment and economy for a sustainable and resilient future. > Find out more: NRRI website <https://www.nrri.umn.edu/> / Facebook > <https://www.facebook.com/Natural.Resources.Research.Institute> / Twitter > <https://twitter.com/UMDNRRI1> / Instagram > <https://www.instagram.com/umdnrri/> / YouTube > <https://www.youtube.com/user/NRRIResearch> / LinkedIn > <https://www.linkedin.com/company/natural-resources-research-institute/> > > NOTE: NRRI’s facilities are operating with limited access due to the > COVID-19 pandemic. Many personnel are working remotely. We will maintain > communications via email, phone and video conference as needed. Thank you! > _______________________________________________ > 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