Run devdocs container as a subpath
Feature request
Is it possible to run the DevDocs Docker container as a subpath? For example: https://example.com/devdocs
Summary
Add environmental variable PATH_PREFIX(SCRIPT-NAME) or add special header for the reverse proxy (X-SCRIPT-NAME).
Examples
https://example.com/devdocs
@simon04 is the best person to judge if this is feasible, but I don't think it's possible at the moment.
Would a subdomain work for you?
Thanks, I did it with the rewrite nginx directive. And changing the config.ru file.
map '/devdocs/' do run App end
Oh, wow, that's a lot easier than I thought.
Did you run into any issues? If not, we can support this with an environment variable.