Comments (3)
I create #120 to track this @gpanders, in case you want to subscribe to that and be notified once it's done.
from goatcounter.
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.
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)
- API for per-day stats HOT 1
- navigator.sendBeacon can fail, should be handled HOT 1
- Cannot Self Host Locally HOT 4
- Unable to delete site HOT 4
- utm_campaign and campaign seem to not work
- Disabling Sessions breaks GoatCounter HOT 4
- Someone else can send traffic from their website HOT 4
- Sending events from a backend HOT 2
- Enable use of subpath rather than domains for sites HOT 2
- everything is Loading forever
- API returns unreliable number of records when using unknown query parameters HOT 7
- "campaigns" - How to? HOT 1
- GoatCounter CSV exports – what are your use cases? HOT 6
- function "is_inf" not defined HOT 2
- Delete site shows data after adding it back HOT 4
- Full Referrer URL HOT 2
- [Bug] Gray bars appear on mouse hover when "view by day" is selected HOT 6
- Sort options for stats page HOT 3
- passing full url inside path with window.goatcounter.path = window.location.href HOT 1
- Reverse proxy + multiple sites: Site links broken HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from goatcounter.