Support externalURL at a non-root path
Created by: dadlerj
Describe the feature request.
A customer requested support for externalURL
config values (https://about.sourcegraph.com/docs/config/site) that include subdirectories.
Is your feature request related to a problem? Please describe.
As the customer described it:
I want sourcegraph to respond to http://127.0.0.1:7080/sourcegraph/ with the configuration set to
"externalURL": "http://127.0.0.1:7080/sourcegraph/",
but sourcegraph already responds to http://127.0.0.1:7080 and ignores my subdirectory
Describe alternatives you've considered.
n/a
Additional context
More context from the user:
Yeah it's pretty common for self hosted services.
Maybe as a future feature? Rewriting with reverse proxies is a pretty fragile method after all.
Source graph is a really good code search and it's a tad disappointing this wasn't considered.
Requested by: