mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
Fix nginx configuration for api_dev.php
[skip ci]
This commit is contained in:
@@ -22,7 +22,7 @@ server {
|
|||||||
rewrite ^(.*)$ /api_dev.php/$1 last;
|
rewrite ^(.*)$ /api_dev.php/$1 last;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ ^/(index|index_dev|api)\.php(/|$) {
|
location ~ ^/(index|index_dev|api|api_dev)\.php(/|$) {
|
||||||
root {{ nginx.docroot }}/www;
|
root {{ nginx.docroot }}/www;
|
||||||
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
||||||
fastcgi_pass unix:/var/run/php5-fpm.sock;
|
fastcgi_pass unix:/var/run/php5-fpm.sock;
|
||||||
|
Reference in New Issue
Block a user