Skip to content

Commit

Permalink
Merge pull request #2112 from paszczus/nginx_api_fix
Browse files Browse the repository at this point in the history
- fixed nginx rewrite for api
  • Loading branch information
laf committed Oct 12, 2015
2 parents d1bf5b6 + f52e7cb commit 775dc4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/Installation/Installation-(RHEL-CentOS).md
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 775dc4d

Please sign in to comment.