Add dev entry point for API

This commit is contained in:
Thibaud Fabre
2016-05-24 15:58:16 +02:00
parent 9c287e0cd9
commit 6d512b23f9
2 changed files with 25 additions and 1 deletions

View File

@@ -19,7 +19,7 @@ server {
location /api {
root {{ nginx.docroot }}/www;
rewrite ^(.*)$ /api.php/$1 last;
rewrite ^(.*)$ /api_dev.php/$1 last;
}
location ~ ^/(index|index_dev|api)\.php(/|$) {