copiousfreetime / stickler

a tool to organize and maintain an internal gem distribution server
MIT License
143 stars 29 forks source link

Need to be able to specify the context path for stickler-server #30

Open nterry opened 10 years ago

nterry commented 10 years ago

We have a haproxy instance that does url re-writing, but stickler server is hard-coded to fetch gems off of /gems (i.e. sticklerserver:6789/gems). We want to be able to specify the context path as an option to be able to do this: http://sticklerserver:6789/[some_context_path]/gems and be able to view the website off of http://sticklerserver:6789/[some_context_path]

This is useful for organizations that use haproxy with url rewriting.

copiousfreetime commented 10 years ago

That sounds reasonable. I'll look into. Or if you like, pull requests gladly accepted.