Matomo (Piwik) works very well on the webserver Nginx indeed! To get started, check out the official nginx server configuration which aims to be fast, secure and flexible. It’s a good starting template for Nginx beginners and a quick way to get started with Matomo for Nginx experts.