Skip to content

Commit 162691a

Browse files
committed
in_http: add changes for cors_allow_origins on v1.19.0
fluent/fluentd#4866 Signed-off-by: Daijiro Fukuda <[email protected]>
1 parent 23a2a40 commit 162691a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

input/http.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,9 @@ Whitelist domains for CORS.
161161

162162
If you set `["domain1", "domain2"]` to `cors_allow_origins`, `in_http` returns `403` to access from other domains. Since Fluentd v1.2.6, you can use a wildcard character `*` to allow requests from any origins.
163163

164+
Since v1.19.0, Fluentd allows empty `Origin` header requests to prevent rejection of non-cross-origin requests or requests from non-browser clients such as apps or scripts.
165+
Before v1.19.0, you need to include `nil` or `*` to allow empty `Origin` header requests.
166+
164167
Example:
165168

166169
```text

0 commit comments

Comments
 (0)