We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d04011 commit ad4b2ebCopy full SHA for ad4b2eb
src/stac_auth_proxy/app.py
@@ -67,7 +67,10 @@ async def lifespan(app: FastAPI):
67
app = FastAPI(
68
openapi_url=None, # Disable OpenAPI schema endpoint, we want to serve upstream's schema
69
lifespan=lifespan,
70
+ root_path=settings.root_path,
71
)
72
+ if app.root_path:
73
+ logger.debug("Mounted app at %s", app.root_path)
74
75
#
76
# Handlers (place catch-all proxy handler last)
src/stac_auth_proxy/config.py
@@ -38,6 +38,7 @@ class Settings(BaseSettings):
38
oidc_discovery_url: HttpUrl
39
oidc_discovery_internal_url: HttpUrl
40
41
+ root_path: str = ""
42
wait_for_upstream: bool = True
43
check_conformance: bool = True
44
enable_compression: bool = True
0 commit comments