From f52e7cb92ffc28447ba25c577c6e6eea1168409f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C5=82awomir=20Paszkiewicz?= Date: Mon, 12 Oct 2015 16:28:41 +0200 Subject: [PATCH] - fixed nginx rewrite for api --- doc/Installation/Installation-(RHEL-CentOS).md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/Installation/Installation-(RHEL-CentOS).md b/doc/Installation/Installation-(RHEL-CentOS).md index a9b560de8..25fbc1db9 100644 --- a/doc/Installation/Installation-(RHEL-CentOS).md +++ b/doc/Installation/Installation-(RHEL-CentOS).md @@ -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; } }