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
+53-53Lines changed: 53 additions & 53 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,16 +67,16 @@ 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
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
90
90
91
91
92
92
### `DEFAULT_PUBLIC`
93
93
94
94
: Default access policy for endpoints
95
95
96
-
**Type:** boolean
97
-
**Required:** No, defaults to `false`
96
+
**Type:** boolean
97
+
**Required:** No, defaults to `false`
98
98
**Example:** `false`, `1`, `True`
99
99
100
100
### `PRIVATE_ENDPOINTS`
101
101
102
102
: Endpoints explicitly marked as requiring authentication and possibly scopes
103
103
104
-
**Type:** JSON object mapping regex patterns to HTTP methods OR tuples of an HTTP method and string representing required scopes
104
+
**Type:** JSON object mapping regex patterns to HTTP methods OR tuples of an HTTP method and string representing required scopes
105
105
**Required:** No, defaults to the following:
106
106
```json
107
107
{
@@ -117,7 +117,7 @@ The application is configurable via environment variables.
117
117
118
118
: Endpoints explicitly marked as not requiring authentication, used when `DEFAULT_PUBLIC == False`
119
119
120
-
**Type:** JSON object mapping regex patterns to HTTP methods
120
+
**Type:** JSON object mapping regex patterns to HTTP methods
121
121
**Required:** No, defaults to the following:
122
122
```json
123
123
{
@@ -134,8 +134,8 @@ The application is configurable via environment variables.
134
134
135
135
: Enable authentication extension in STAC API responses
136
136
137
-
**Type:** boolean
138
-
**Required:** No, defaults to `true`
137
+
**Type:** boolean
138
+
**Required:** No, defaults to `true`
139
139
**Example:** `false`, `1`, `True`
140
140
141
141
## OpenAPI / Swagger UI
@@ -152,22 +152,22 @@ The application is configurable via environment variables.
152
152
153
153
: Name of the auth scheme to use in the OpenAPI spec
154
154
155
-
**Type:** string
156
-
**Required:** No, defaults to `oidcAuth`
155
+
**Type:** string
156
+
**Required:** No, defaults to `oidcAuth`
157
157
**Example:** `jwtAuth`
158
158
159
159
### `OPENAPI_AUTH_SCHEME_OVERRIDE`
160
160
161
161
: Override for the auth scheme in the OpenAPI spec
162
162
163
-
**Type:** JSON object
164
-
**Required:** No, defaults to `null` (disabled)
165
-
**Example:**
163
+
**Type:** JSON object
164
+
**Required:** No, defaults to `null` (disabled)
165
+
**Example:**
166
166
```json
167
167
{
168
-
"type": "http",
169
-
"scheme": "bearer",
170
-
"bearerFormat": "JWT",
168
+
"type": "http",
169
+
"scheme": "bearer",
170
+
"bearerFormat": "JWT",
171
171
"description": "Paste your raw JWT here. This API uses Bearer token authorization.\n"
172
172
}
173
173
```
@@ -184,8 +184,8 @@ The application is configurable via environment variables.
184
184
185
185
: 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