graphite_url is not in / , this won't

i have graphite url like this http://localhost/graphite, /graphite part gets overriden by .path(/render) statement.
the pach fixes it, by add /?render to GRAPHITE_URL path