-
-
Notifications
You must be signed in to change notification settings - Fork 101
Open
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is neededv2v2 releasev2 release
Description
Search for duplicate feature request
- I already searched, and this feature request or improvement is not a duplicate.
Feature scope
Improve existing functionality
Feature request related to a problem
We may want to serve the static files under a sub-path URL instead of the root URL. This may be helpful in cases only one host name is available but we need to serve multiple services.
Describe the solution you'd like
A new--base-path <base>
option or env variable to map all requests for /<base>/...
to files under <ROOT>/...
.
Describe alternatives you've considered
Currently I use the rewrite rule in Nginx to workaroud this, by removing /<path>/
before redirecting requests to SWS and by adding `//' for URLs in responses. This is ugly and error prone. It would be nice if SWS can natively support it.
Build target
All targets
Additional context
No response
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is neededv2v2 releasev2 release