Merge pull request #2112 from paszczus/nginx_api_fix

- fixed nginx rewrite for api
This commit is contained in:
Neil Lathwood
2015-10-12 15:33:25 +01:00
@@ -193,7 +193,7 @@ server {
deny all;
}
location @librenms {
rewrite ^api/v0(.*)$ /api_v0.php/$1 last;
rewrite api/v0(.*)$ /api_v0.php/$1 last;
rewrite ^(.+)$ /index.php/$1 last;
}
}