[nginx/php] Pour horde
This commit is contained in:
parent
6f19553e95
commit
ab65dc3ca0
1 changed files with 4 additions and 3 deletions
|
@ -1,5 +1,6 @@
|
|||
location ~ .php$ {
|
||||
if (!-e $request_filename) {
|
||||
location ~ .+\.php {
|
||||
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
||||
if (!-e $document_root$fastcgi_script_name) {
|
||||
return 404;
|
||||
}
|
||||
fastcgi_buffer_size 128k;
|
||||
|
@ -9,7 +10,7 @@ location ~ .php$ {
|
|||
fastcgi_index index.php;
|
||||
fastcgi_param PATH_INFO $fastcgi_path_info;
|
||||
fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info;
|
||||
fastcgi_param SCRIPT_FILENAME $request_filename;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
include fastcgi_params;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue