Allowing to fix the request base URL
The base URL in links is built using the Starlette Request base_url property. But this value can be misleading, especially when the app is used behind a proxy.
It would help if the base URL can be configured somehow.
I was trying to deploy stac-fastapi using traefik so that when I hit
myurl.com/stac/ the links in the catalog contain the "/stac" prefix. Related to #223 and #581
I think it would be useful if we could use an environment variable to configure the --root-path instead of manually having to modify the fastapi command.
https://github.com/stac-utils/stac-fastapi/blob/main/stac_fastapi/types/stac_fastapi/types/config.py#L34