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:
ericgaspar 2021-05-17 22:23:00 +02:00
parent 16f3a5d846
commit 1d8d55af82
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -21,7 +21,6 @@ location ^~ __PATH__/ {
try_files $uri $uri/ =404; try_files $uri $uri/ =404;
location ~ [^/]\.php(/|$) { location ~ [^/]\.php(/|$) {
rewrite ^__PATH__/(index|matomo|piwik|js/index|plugins/HeatmapSessionRecording/configs)\.php$;
include snippets/fastcgi-php.conf; include snippets/fastcgi-php.conf;
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;