You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/user-guide/configuration.md
+56-57Lines changed: 56 additions & 57 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,57 +8,57 @@ The application is configurable via environment variables.
8
8
9
9
: STAC API URL
10
10
11
-
**Type:** HTTP(S) URL
12
-
**Required:** Yes
11
+
**Type:** HTTP(S) URL
12
+
**Required:** Yes
13
13
**Example:** `https://your-stac-api.com/stac`
14
14
15
15
### `WAIT_FOR_UPSTREAM`
16
16
17
17
: Wait for upstream API to become available before starting proxy
18
18
19
-
**Type:** boolean
20
-
**Required:** No, defaults to `true`
19
+
**Type:** boolean
20
+
**Required:** No, defaults to `true`
21
21
**Example:** `false`, `1`, `True`
22
22
23
23
### `CHECK_CONFORMANCE`
24
24
25
25
: Ensure upstream API conforms to required conformance classes before starting proxy
26
26
27
-
**Type:** boolean
28
-
**Required:** No, defaults to `true`
27
+
**Type:** boolean
28
+
**Required:** No, defaults to `true`
29
29
**Example:** `false`, `1`, `True`
30
30
31
31
### `ENABLE_COMPRESSION`
32
32
33
33
: Enable response compression
34
34
35
-
**Type:** boolean
36
-
**Required:** No, defaults to `true`
35
+
**Type:** boolean
36
+
**Required:** No, defaults to `true`
37
37
**Example:** `false`, `1`, `True`
38
38
39
39
### `HEALTHZ_PREFIX`
40
40
41
41
: Path prefix for health check endpoints
42
42
43
-
**Type:** string
44
-
**Required:** No, defaults to `/healthz`
43
+
**Type:** string
44
+
**Required:** No, defaults to `/healthz`
45
45
**Example:** `''` (disabled)
46
46
47
47
### `OVERRIDE_HOST`
48
48
49
49
: Override the host header for the upstream API
50
50
51
-
**Type:** boolean
52
-
**Required:** No, defaults to `true`
51
+
**Type:** boolean
52
+
**Required:** No, defaults to `true`
53
53
**Example:** `false`, `1`, `True`
54
54
55
55
### `ROOT_PATH`
56
56
57
57
: Path prefix for the proxy API
58
58
59
-
**Type:** string
60
-
**Required:** No, defaults to `''` (root path)
61
-
**Example:** `/api/v1`
59
+
**Type:** string
60
+
**Required:** No, defaults to `''` (root path)
61
+
**Example:** `/api/v1`
62
62
**Note:** This is independent of the upstream API's path. The proxy will handle removing this prefix from incoming requests and adding it to outgoing links.
63
63
64
64
## Authentication
@@ -67,41 +67,40 @@ The application is configurable via environment variables.
**Note** A comma-separated list of the intended recipient(s) of the JWT. At least one audience value must match the `aud` (audience) claim present in the incoming JWT. If undefined, the API will not impose a check on the `aud` claim
90
-
89
+
**Note:** A comma-separated list of the intended recipient(s) of the JWT. At least one audience value must match the `aud` (audience) claim present in the incoming JWT. If undefined, the API will not impose a check on the `aud` claim
91
90
92
91
### `DEFAULT_PUBLIC`
93
92
94
93
: Default access policy for endpoints
95
94
96
-
**Type:** boolean
97
-
**Required:** No, defaults to `false`
95
+
**Type:** boolean
96
+
**Required:** No, defaults to `false`
98
97
**Example:** `false`, `1`, `True`
99
98
100
99
### `PRIVATE_ENDPOINTS`
101
100
102
101
: Endpoints explicitly marked as requiring authentication and possibly scopes
103
102
104
-
**Type:** JSON object mapping regex patterns to HTTP methods OR tuples of an HTTP method and string representing required scopes
103
+
**Type:** JSON object mapping regex patterns to HTTP methods OR tuples of an HTTP method and string representing required scopes
105
104
**Required:** No, defaults to the following:
106
105
```json
107
106
{
@@ -117,7 +116,7 @@ The application is configurable via environment variables.
117
116
118
117
: Endpoints explicitly marked as not requiring authentication, used when `DEFAULT_PUBLIC == False`
119
118
120
-
**Type:** JSON object mapping regex patterns to HTTP methods
119
+
**Type:** JSON object mapping regex patterns to HTTP methods
121
120
**Required:** No, defaults to the following:
122
121
```json
123
122
{
@@ -134,8 +133,8 @@ The application is configurable via environment variables.
134
133
135
134
: Enable authentication extension in STAC API responses
136
135
137
-
**Type:** boolean
138
-
**Required:** No, defaults to `true`
136
+
**Type:** boolean
137
+
**Required:** No, defaults to `true`
139
138
**Example:** `false`, `1`, `True`
140
139
141
140
## OpenAPI / Swagger UI
@@ -152,22 +151,22 @@ The application is configurable via environment variables.
152
151
153
152
: Name of the auth scheme to use in the OpenAPI spec
154
153
155
-
**Type:** string
156
-
**Required:** No, defaults to `oidcAuth`
154
+
**Type:** string
155
+
**Required:** No, defaults to `oidcAuth`
157
156
**Example:** `jwtAuth`
158
157
159
158
### `OPENAPI_AUTH_SCHEME_OVERRIDE`
160
159
161
160
: Override for the auth scheme in the OpenAPI spec
162
161
163
-
**Type:** JSON object
164
-
**Required:** No, defaults to `null` (disabled)
165
-
**Example:**
162
+
**Type:** JSON object
163
+
**Required:** No, defaults to `null` (disabled)
164
+
**Example:**
166
165
```json
167
166
{
168
-
"type": "http",
169
-
"scheme": "bearer",
170
-
"bearerFormat": "JWT",
167
+
"type": "http",
168
+
"scheme": "bearer",
169
+
"bearerFormat": "JWT",
171
170
"description": "Paste your raw JWT here. This API uses Bearer token authorization.\n"
172
171
}
173
172
```
@@ -184,8 +183,8 @@ The application is configurable via environment variables.
184
183
185
184
: Initialization options for the [Swagger UI OAuth2 configuration](https://swagger.io/docs/open-source-tools/swagger-ui/usage/oauth2/) on custom Swagger UI
0 commit comments