This is a small nginx configuration that should help you get your own Matomo instance running and start collecting your own analytics. 这是一个小的nginx配置,可以帮助您运行自己的Matomo实例并开始收集自己的分析。
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. 在这种情况下,只需要获取sites-available/matomo.conf,检查是否一切都按照您喜欢的方式配置,并启用配置就足够了。
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 如果您需要检查遗留的nginx Matomo配置,您可以在这里找到它:https://github.com/matomo—org/matomo—nginx/tree/1.0.99
You know how to improve this config? Open a pull request or GitHub issue! 你知道如何改进这个配置吗?打开pull request或GitHub issue!