Is your feature request related to a problem? Please describe.
I'm always frustrated when we're referring to outdated components (HTTP gateway) and using instance-specific configurations by default (/$CID/path only works because of rewrites, it's not a native HTTP or REST interface). There also can be cases where people run a gate of their own with some better URL scheme (like reports.example.com/path) and NEOFS_HTTP_GATE puts too many restrictions on them (implying /$CID/path)
Describe the solution you'd like
Rework NEOFS_HTTP_GATE into HTTP_URL_PREFIX (but keep old one for compatibility unles HTTP_URL_PREFIX is set), this would work like
Is your feature request related to a problem? Please describe.
I'm always frustrated when we're referring to outdated components (HTTP gateway) and using instance-specific configurations by default (
/$CID/path
only works because of rewrites, it's not a native HTTP or REST interface). There also can be cases where people run a gate of their own with some better URL scheme (likereports.example.com/path
) and NEOFS_HTTP_GATE puts too many restrictions on them (implying/$CID/path
)Describe the solution you'd like
Rework NEOFS_HTTP_GATE into HTTP_URL_PREFIX (but keep old one for compatibility unles HTTP_URL_PREFIX is set), this would work like
leaving gateway/rewrite specifics out of scope.
Additional context
https://github.com/nspcc-dev/neofs-rest-gw/issues/156