diff options
| author | Tristan Darricau <github@nicofuma.fr> | 2014-08-10 00:13:55 +0200 |
|---|---|---|
| committer | Tristan Darricau <github@nicofuma.fr> | 2014-08-10 00:13:55 +0200 |
| commit | 761f5a771dd0f7a62f63985637004e37d1bad498 (patch) | |
| tree | 8586c3e03a1a6d836d3e6cee8f614640fa17e4e7 | |
| parent | e12969d2c7ef86dd3cd8998b92dc99ce6f08695f (diff) | |
| parent | 469790146ce6c47b92ecd2bcd8b4791ef3c6a069 (diff) | |
| download | forums-761f5a771dd0f7a62f63985637004e37d1bad498.tar forums-761f5a771dd0f7a62f63985637004e37d1bad498.tar.gz forums-761f5a771dd0f7a62f63985637004e37d1bad498.tar.bz2 forums-761f5a771dd0f7a62f63985637004e37d1bad498.tar.xz forums-761f5a771dd0f7a62f63985637004e37d1bad498.zip | |
Merge branch 'develop-ascraeus' into develop
* develop-ascraeus:
[ticket/12954] Correctly setup PATH_INFO on Travis CI.
| -rwxr-xr-x | travis/setup-webserver.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/travis/setup-webserver.sh b/travis/setup-webserver.sh index ea1929a5b0..ab045431cc 100755 --- a/travis/setup-webserver.sh +++ b/travis/setup-webserver.sh @@ -72,8 +72,11 @@ echo " index index.php index.html; location ~ \.php { - fastcgi_pass unix:$APP_SOCK; - include fastcgi_params; + include fastcgi_params; + fastcgi_split_path_info ^(.+\.php)(/.*)$; + fastcgi_param PATH_INFO \$fastcgi_path_info; + fastcgi_param SCRIPT_FILENAME \$document_root\$fastcgi_script_name; + fastcgi_pass unix:$APP_SOCK; } } " | sudo tee $NGINX_CONF > /dev/null |
