Giter Club home page Giter Club logo

Comments (5)

MyWay avatar MyWay commented on June 8, 2024

I was looking for the same thing. Let's see!

from meli.

gempain avatar gempain commented on June 8, 2024

@mtiller the way you imagine this works is the way it should work. Here's what we have for docs.meli.sh:
Screenshot 2022-02-04 at 16 26 31

Something's either broken we have a bug in the UI configuration. Can you try enabling "Automatic SSL" ? I think you're on K8s so you've probably disabled automatic SSL via environment variables, so enabling it in the UI won't generate the certificates, but I have a feeling the JSON config saved in DB is missing a type property which could explain it being filtered out from the config generated. -

from meli.

mtiller avatar mtiller commented on June 8, 2024

Well, I don't have an "Automatic SSL" for the reasons you explained. I definitely don't want it generating TLS certificates for me since that is already managed by my ingress. But, this is a slight issue because as it stands right now I've created an enhanced helm chart (enhanced beyond what I committed) that allows me to specify the sites and mappings in the values.yaml file and it takes care of all the cert stuff. I could consider explicitly excluding cert-manager from issuing certs for the meli related domains.

But what I don't quite understand is that I don't see any mappings in the caddy configuration when I add a domain. So how does the traffic actually make it to the meli server?

What I've done (up to this point) is actually put all this into the Helm chart and it actually works quite well. I'd like to be able to manage all of this in the meli UI. But part of the problem here is that I'd still need to have a custom ingress resource that was aware of all these extra domains. So I don't see a way to contain it all in the Meli UI for my particular case.

from meli.

mtiller avatar mtiller commented on June 8, 2024

Let me clarify one point. There is not "Automatic SSL" in the UI for me. So I can't turn it on.

from meli.

gempain avatar gempain commented on June 8, 2024

You should be able to manage this is the meli UI, this is exactly what the domains part was meant to do and should do. It should have added a line in the Caddy config for that specific site. Then, when caddy gets a request, it matches the domain name against the config and serves the right site. I'll have a look because that's supposed to work.

from meli.

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.