mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 13:28:55 +00:00
[ticket/12954] Correctly setup PATH_INFO on Travis CI.
PHPBB3-12954
This commit is contained in:
parent
86f94f922c
commit
23ca9cd81d
1 changed files with 5 additions and 2 deletions
|
@ -72,8 +72,11 @@ echo "
|
||||||
index index.php index.html;
|
index index.php index.html;
|
||||||
|
|
||||||
location ~ \.php {
|
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
|
" | sudo tee $NGINX_CONF > /dev/null
|
||||||
|
|
Loading…
Add table
Reference in a new issue