mirror of
https://github.com/stylersnico/librenms.git
synced 2026-08-03 08:01:38 +02:00
- fixed nginx rewrite for api
This commit is contained in:
@@ -193,7 +193,7 @@ server {
|
|||||||
deny all;
|
deny all;
|
||||||
}
|
}
|
||||||
location @librenms {
|
location @librenms {
|
||||||
rewrite ^api/v0(.*)$ /api_v0.php/$1 last;
|
rewrite api/v0(.*)$ /api_v0.php/$1 last;
|
||||||
rewrite ^(.+)$ /index.php/$1 last;
|
rewrite ^(.+)$ /index.php/$1 last;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user