diff options
author | Matthieu Napoli <matthieu@mnapoli.fr> | 2014-10-16 02:10:39 +0400 |
---|---|---|
committer | Matthieu Napoli <matthieu@mnapoli.fr> | 2014-10-16 02:10:39 +0400 |
commit | b97df3c84dd41c9149682c19b8d30b8dcfd4adf3 (patch) | |
tree | 2d38057952de11baed92b403130bea111f93183b /tests/travis | |
parent | b9f59404f86b3ca257795d647c7a934747e8b796 (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.conf | 3 |
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)(/.*)$; } } |