diff options
author | Andreas Fischer <bantu@phpbb.com> | 2014-08-09 18:33:48 +0200 |
---|---|---|
committer | Andreas Fischer <bantu@phpbb.com> | 2014-08-09 18:33:48 +0200 |
commit | 23ca9cd81d51624b348164b9104a6e0287d2918e (patch) | |
tree | 5ffcb3c95cf348fa0fc6bb55e926258874046137 | |
parent | 86f94f922ce53b58d27a4f294248f5aa32fc97f8 (diff) | |
download | forums-23ca9cd81d51624b348164b9104a6e0287d2918e.tar forums-23ca9cd81d51624b348164b9104a6e0287d2918e.tar.gz forums-23ca9cd81d51624b348164b9104a6e0287d2918e.tar.bz2 forums-23ca9cd81d51624b348164b9104a6e0287d2918e.tar.xz forums-23ca9cd81d51624b348164b9104a6e0287d2918e.zip |
[ticket/12954] Correctly setup PATH_INFO on Travis CI.
PHPBB3-12954
-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 |