415 GitHub stars and counting — matomo-org/matomo-nginx is a multi-language project TopGit is tracking across repositories on the platform. Nginx configuration for running Matomo
Snapshot summary built from the project's own GitHub metadata — there's no written TopGit review yet. The page will update automatically when a full review is published.
WHY NO REVIEW YET
TopGit writes full reviews for the most-starred, most-requested repositories. This page is a snapshot until then — see the READ ME tab for the original README in full.
This is a small nginx configuration that should help you get your own Matomo instance running and start collecting your own analytics.
I already know nginx
In this case it should be enough to just take the sites-available/matomo.conf, check if everything is configured as you like it and enable the config.
I want to get started
clone this repostitory or download it as a zip then move its content to /etc/nginx/ (or wherever you store your nginx-config)
read through the sites-available/matomo.conf and modify the settings to fit your use case:
set server_name to the domain(s) of your Matomo instance
set the path to your SSL certificate (I really recommend you to make sure your Matomo instance is only reachable via HTTPS. If you don't have an SSL certificate for your domain yet, check out Let's Encrypt.)
do you want to support old browsers? Then you'll need to modify ssl.conf according to your need. (the Mozilla SSL Config Generator will help you)
replace /var/www/matomo/ with the path to your Matomo instance
configure PHP (this depends on your OS and PHP setup)
if you are using fastcgi (which is probably the case) set fastcgi_pass to the path of your PHP socket file
you can also specify a TCP port
go to the sites-enabled folder of your nginx config directory
enable the Matomo config by creating a symlink: sudo ln -s ../sites-available/matomo.conf
test if there is a syntax error in your config: sudo nginx -t
restart nginx: sudo systemctl restart nginx
If you need to check the legacy nginx Matomo configuration, you can find it here: https://github.com/matomo-org/matomo-nginx/tree/1.0.99
Tips
never use Matomo without HTTPS
make sure you have configured Nginx to only accept modern and secure cryptography
check your website with https://www.ssllabs.com/ssltest/
compare your Nginx config with the "modern" template from https://mozilla.github.io/server-side-tls/ssl-config-generator/
this template is used by default in the ssl.conf file
decide if keeping outdated chiphers and TLS protocolls enabled to be able to track ancient browser is worth the risk of a downgrade attack for all your vistors (and admins)
never support SSLv3 and think about disabling TLSv1 and TLSv1.1
add server_tokens off; to your config to disable the server: nginx header on all requests and the nginx version on error pages
if you have enabled gzip compression (which improves performance greatly), be aware of the BREACH vulnerability
think about enabling the Strict-Transport-Security header, but keep in mind the implications
keep HTTP/2 enabled as it brings performance benifits with many small files (e.g. icons)
You know how to improve this config? Open a pull request or GitHub issue!
Does matomo-org/matomo-nginx have a project website?
No homepage URL was recorded for matomo-org/matomo-nginx in TopGit's last sync. The README tab above frequently contains screenshots and demo links, or check the repository description on GitHub.
Does matomo-org/matomo-nginx have any tags?
TopGit's last sync did not record any GitHub topics for matomo-org/matomo-nginx. GitHub topics appear in the right sidebar of a repository page; that's the authoritative place to check.
How active is development on matomo-org/matomo-nginx?
The most recent commit recorded on matomo-org/matomo-nginx was 2.8 years ago, based on the GitHub push timestamp. The repository has 125 forks — one of the better signals of community interest.
How many stars does matomo-org/matomo-nginx have?
matomo-org/matomo-nginx has 415 GitHub stars — refresh the page for the live number, or check github.com/matomo-org/matomo-nginx. TopGit mirrors GitHub's count but does not claim minute-by-minute accuracy.
Is matomo-org/matomo-nginx open source?
TopGit's metadata for matomo-org/matomo-nginx does not record a license. Most public repositories on GitHub ARE open source, but the exact terms vary — verify by opening the LICENSE file directly.
Where do I read more about matomo-org/matomo-nginx?
This TopGit page is a snapshot — the READ ME tab shows the project's own README content (links stripped, images preserved). The GitHub repository at github.com/matomo-org/matomo-nginx is the definitive source.
Read full README in the tab above.
Curious whether matomo-nginx is right for you?
Let ChatGPT, Claude, or Perplexity look into it — click below and see what AI actually says about matomo-nginx.