Closed mackuba closed 5 years ago
Good catch (and sorry that I didn't see this earlier) I want to avoid adding not-matomo-related files to this repo, so I simply refer to the official nginx config.
diff --git a/sites-available/matomo.conf b/sites-available/matomo.conf
index d062316..d037828 100644
--- a/sites-available/matomo.conf
+++ b/sites-available/matomo.conf
@@ -32,7 +32,7 @@ server {
## only allow accessing the following php files
location ~ ^/(index|matomo|piwik|js/index).php {
- include snippets/fastcgi-php.conf; # if your Nginx setup doesn't come with a default fastcgi-php config replace this with the one from this repository
+ include snippets/fastcgi-php.conf; # if your Nginx setup doesn't come with a default fastcgi-php config, you can fetch it from https://github.com/nginx/nginx/blob/master/conf/fastcgi.conf
fastcgi_param HTTP_PROXY ""; # prohibit httpoxy: https://httpoxy.org/
fastcgi_pass unix:/var/run/php/php7.2-fpm.sock; #replace with the path to your PHP socket file
#fastcgi_pass 127.0.0.1:9000; # uncomment if you are using PHP via TCP sockets
A comment in the main config says:
There is no fastcgi-php config file in the repo though (anymore).