mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 23:16:13 +02:00
Merge pull request #2854 from bantu/ticket/12954
[ticket/12954] Correctly setup PATH_INFO on Travis CI. * bantu/ticket/12954: [ticket/12954] Correctly setup PATH_INFO on Travis CI.
This commit is contained in:
commit
469790146c
@ -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…
x
Reference in New Issue
Block a user