Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

in_http: Allow specifying the wildcard '*' as the CORS domain #2139

Merged
merged 1 commit into from
Oct 2, 2018

Conversation

fujimotos
Copy link
Member

This allows users to set up the configuration like below:

<match debug.**>
  @type http
  cors_allow_origins ["*"]
</match>

In this case, any origin can make a request to Fluentd; Plugin users
do not need to enumerate all the possible origins explicitly, so it
should be useful for, say, collecting data from a group of websites.

See MCD "Access-Control-Allow-Origin" header

Signed-off-by: Fujimoto Seiji fujimoto@clear-code.com

This allows users to set up the configuration like below:

    <match debug.**>
      @type http
      cors_allow_origins ["*"]
    </match>

In this case, any origin can make a request to Fluentd; Plugin users
do not need to enumerate all the possible origins explicitly, so it
should be useful for, say, collecting data from a group of websites.

Signed-off-by: Fujimoto Seiji <fujimoto@clear-code.com>
@repeatedly repeatedly merged commit 29ac632 into fluent:master Oct 2, 2018
@repeatedly
Copy link
Member

Thanks!

@fujimotos fujimotos deleted the sf/in-http-cors-wildcard branch October 4, 2018 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants