Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Napoli <matthieu@mnapoli.fr>2014-10-16 02:10:39 +0400
committerMatthieu Napoli <matthieu@mnapoli.fr>2014-10-16 02:10:39 +0400
commitb97df3c84dd41c9149682c19b8d30b8dcfd4adf3 (patch)
tree2d38057952de11baed92b403130bea111f93183b /tests/travis
parentb9f59404f86b3ca257795d647c7a934747e8b796 (diff)
Fixing nginx config for the tests so that it matches all URLs like Apache (for testing wrong urls in the tests)
Diffstat (limited to 'tests/travis')
-rw-r--r--tests/travis/piwik_nginx.conf3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/travis/piwik_nginx.conf b/tests/travis/piwik_nginx.conf
index 7483693f57..f0dd67111a 100644
--- a/tests/travis/piwik_nginx.conf
+++ b/tests/travis/piwik_nginx.conf
@@ -3,9 +3,10 @@ server {
root @PIWIK_ROOT@/;
index index.php index.html;
- location ~ \.php$ {
+ location ~ \.php(/|$) {
fastcgi_pass unix:@PHP_FPM_SOCK@;
include fastcgi_params;
fastcgi_read_timeout 300s;
+ fastcgi_split_path_info ^(.+\.php)(/.*)$;
}
}