Giter Club home page Giter Club logo

Comments (5)

ppradela avatar ppradela commented on August 16, 2024 3

@sameersheikh22
I am using a caddy as a reverse proxy for now. A caddy container has to be in the same container network. My Caddyfile looks like:

gscloud.example.com {
tls cert.pem key.pem
reverse_proxy webui:8080
reverse_proxy /ows* gateway:8080
reverse_proxy /gwc* gateway:8080
}

from geoserver-cloud.

sameersheikh22 avatar sameersheikh22 commented on August 16, 2024

@ppradela
I'm currently facing the same issue. Did you manage to get any help or find a solution?

from geoserver-cloud.

Ravi-170524 avatar Ravi-170524 commented on August 16, 2024

@ppradela
we are getting below error for this caddyfile
caddyfile::
geoserver-cloud.example.com {
tls /etc/letsencrypt/live/geoserver-cloud.example.com/fullchain.pem /etc/letsencrypt/live/geoserver-cloud.example.com/privkey.pem
reverse_proxy localhost:9090 {
header_up X-Forwarded-Host {host}
}
}
Error:
Screenshot from 2024-06-04 19-41-33
Can anyone help me!

from geoserver-cloud.

ppradela avatar ppradela commented on August 16, 2024

@Ravi-170524
Compare my Caddyfile to your. You have to do reverse_proxy directly to webui for the geoserver admin interface and another route for services.
This error appears because you do reverse_proxy to gateway container and gateway container does proxy for all services. The traffic goes:
client--https-->caddy--http-->gateway --https-->webui
so it is not encrypted on the whole path but if you use my example you will not get this error.

from geoserver-cloud.

Ravi-170524 avatar Ravi-170524 commented on August 16, 2024

@ppradela
Thanks , It is working fine

from geoserver-cloud.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.