HI Oscar:
A quick web search found:
there it says for reverse proxy work the IPs to pbe proxy must be defined in the frontend block. Maybe it doesn't matter but it is at least a possibility.
-Roy
> On Mar 21, 2024, at 7:18 AM, Roy Mendelssohn - NOAA Federal <roy.men...@noaa.gov> wrote:
>
> Hi Oscar:
>
> Thanks for your query. We have zero knowledge of HAProxy hopefully someone on the list can help better. Having said that, I will make two will stabs at things and oe request
>
> 1. In Apache at least it is not enough to just proxy port to port for everything to work, you have to proxy /erddap - I don't know the equivalent for HAProxy but don't see anything like it the setup.
>
> 2. With Apache I have found proxying :8080 using http doesn't always work - we proxy to :8443 with a setup that says no cert.
>
> 3. What does your server.xml file look like (please sanitize before sending).
>
> As I said these are wild guesses based on no knowledge of HAProxy.
>
> -Roy
>
>> On Mar 21, 2024, at 2:07 AM, Oscar Chic <och...@gmail.com> wrote:
>>
>> Hello,
>> I know that in documentation there are examples of Apache and nginx as a proxy of ERDDAP. But in our institute, computer engineering people selected HAProxy and we have problems.
>>
>> Our test server is:
>>
>>
>> and no problems with index.html (code 200, so ok) but problems with images, javascript and css.
>> Looking into inspect of chrome, the problem is index.html is well proxied but no images, css and javascript that appears with private IP, so https://urldefense.com/v3/__http://10.100__;!!K-Hz7m0Vt54!m5jWvbuzNFtuv5Vmzn23e-UGFJSU033CaMmB_RUY4Jwpu6pSGn9HywZhpAB9x57ztx-GVYYqezXAXV4S$ ....
>> To view this discussion on the web, visit https://urldefense.com/v3/__https://groups.google.com/d/msgid/erddap/cffbd84c-537a-40b8-a3bd-f9a74e3d739bn*40googlegroups.com__;JQ!!K-Hz7m0Vt54!m5jWvbuzNFtuv5Vmzn23e-UGFJSU033CaMmB_RUY4Jwpu6pSGn9HywZhpAB9x57ztx-GVYYqe30qHYUf$ .
>
> **********************
> "The contents of this message do not reflect any position of the U.S. Government or NOAA."
> **********************
> Roy Mendelssohn
> Supervisory Operations Research Analyst
> NOAA/NMFS
> Environmental Research Division
> Southwest Fisheries Science Center
> ***Note new street address***
> 110 McAllister Way
> Santa Cruz, CA 95060
> Phone: (831)-420-3666
> Fax: (831) 420-3980
> e-mail: Roy.Men...@noaa.gov www: https://urldefense.com/v3/__https://www.pfeg.noaa.gov/__;!!K-Hz7m0Vt54!m5jWvbuzNFtuv5Vmzn23e-UGFJSU033CaMmB_RUY4Jwpu6pSGn9HywZhpAB9x57ztx-GVYYqe4YrQTZN$
>
> "Old age and treachery will overcome youth and skill."
> "From those who have been given much, much will be expected"
> "the arc of the moral universe is long, but it bends toward justice" -MLK Jr.
>
**********************
"The contents of this message do not reflect any position of the U.S. Government or NOAA."
**********************
Roy Mendelssohn
Supervisory Operations Research Analyst
NOAA/NMFS
Environmental Research Division
Southwest Fisheries Science Center
***Note new street address***
110 McAllister Way
Santa Cruz, CA 95060
Phone: (831)-420-3666
Fax: (831) 420-3980
e-mail: Roy.Men...@noaa.gov www: https://urldefense.com/v3/__https://www.pfeg.noaa.gov/__;!!K-Hz7m0Vt54!m5jWvbuzNFtuv5Vmzn23e-UGFJSU033CaMmB_RUY4Jwpu6pSGn9HywZhpAB9x57ztx-GVYYqe4YrQTZN$
"Old age and treachery will overcome youth and skill."
"From those who have been given much, much will be expected"
"the arc of the moral universe is long, but it bends toward justice" -MLK Jr.
--
You received this message because you are subscribed to the Google Groups "ERDDAP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to erddap+un...@googlegroups.com.
ERDDAP configured with: ERDDAP_CONTENT_URL=https://github.com/BobSimons/erddap/releases/download/v2.18/erddapContent.zip
ERDDAP_VERSION=2.18
ERDDAP_WAR_URL=https://github.com/BobSimons/erddap/releases/download/v2.18/erddap.war
ERDDAP_adminAddress=123 Irrelevant St.
ERDDAP_adminCity=Nowhere
ERDDAP_adminCountry=USA
ERDDAP_adminEmail=nob...@example.com
ERDDAP_adminIndividualName=Axiom Docker Install
ERDDAP_adminInstitution=Axiom Docker Install
ERDDAP_adminInstitutionUrl=https://github.com/axiom-data-science/docker-erddap
ERDDAP_adminPhone=555-555-5555
ERDDAP_adminPosition=Software Engineer
ERDDAP_adminPostalCode=99504
ERDDAP_adminStateOrProvince=AK
ERDDAP_baseHttpsUrl=https://localhost:8443
ERDDAP_bigParentDirectory=/erddapData
ERDDAP_emailDailyReportsTo=nob...@example.com
ERDDAP_emailEverythingTo=nob...@example.com
ERDDAP_emailFromAddress=not...@example.com
ERDDAP_emailPassword=
ERDDAP_emailProperties=
ERDDAP_emailSmtpHost=
ERDDAP_emailSmtpPort=
ERDDAP_emailUserName=
ERDDAP Running with: -server -d64 -Xms4G -Xmx4G -XX:+HeapDumpOnOutOfMemoryError -Djava.awt.headless=true -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -DerddapContentDirectory=/usr/local/tomcat/content/erddap/ -Djna.tmpdir=/tmp/ -Djava.security.egd=file:/dev/./urandom