mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
- fixed nginx rewrite for api
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user