- fixed nginx rewrite for api

This commit is contained in:
Sławomir Paszkiewicz
2015-10-12 16:28:41 +02:00
parent d1bf5b67cd
commit f52e7cb92f
@@ -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;
}
}