Giter VIP home page Giter VIP logo

Comments (3)

arp242 avatar arp242 commented on May 27, 2024 1

I create #120 to track this @gpanders, in case you want to subscribe to that and be notified once it's done.

from goatcounter.

gpanders avatar gpanders commented on May 27, 2024

Is this implemented? I have been wrestling with getting GoatCounter stood up behind a Traefik reverse proxy with no success, but if I can just redirect from a subdomain on my own domain then I would rather just do that!

from goatcounter.

arp242 avatar arp242 commented on May 27, 2024

Yeah, it should work @gpanders, but the acme/tls implementation depends on acme.sh right now, so that might error out. GoatCounter doesn't serve the TLS itself right now at all, so it's just for the benefit of the https proxy.

Redirecting (HTTP 301) should always work, but a CNAME needs some support on GoatCounter's side. If the UI doesn't work you can just update sites set plan='business', cname='stats.example.com' where id=1.

The self-hosting experience might be as bit rough in some areas like this I'm afraid. Improving this is one of the goals for v1.1

Setting up a proxy shouldn't be too hard, essentially just redirect *.mydomain.com to GoatCounter. There should probably be a simpler "self-host mode" to just run it on stats.mydomain.com without all this faffing about that's only needed for the SaaS part 🤔

from goatcounter.

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.