1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/matomo_ynh.git synced 2024-09-03 19:45:56 +02:00

Update nginx.conf

This commit is contained in:
Éric Gaspar 2024-05-23 18:10:49 +02:00
parent 90d3a7ea9f
commit 9572483e79

View file

@ -15,7 +15,7 @@ location __PATH__/ {
client_max_body_size 50M; client_max_body_size 50M;
try_files $uri $uri/ =404; try_files $uri $uri/ =404;
location ~ [^/]\.php(/|$) { location ~ ^/(index|matomo|piwik|js/index|plugins/HeatmapSessionRecording/configs)\.php$ {
fastcgi_split_path_info ^(.+?\.php)(/.*)$; fastcgi_split_path_info ^(.+?\.php)(/.*)$;
fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm-__NAME__.sock; fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm-__NAME__.sock;