We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have this in my nginx
# Add the Report-To header, which specifies the reporting endpoint add_header Report-To '{"group":"default","max_age":10886400,"endpoints":[{"url":"http://metlocsp:8080"}],"include_subdomains":true}' always; # Content-Security-Policy-Report-Only header to enable CSP reporting add_header Content-Security-Policy-Report-Only "default-src 'self'; font-src 'self'; img-src 'self'; script-src 'self'; style-src 'self'; report-uri http://metlocsp:8080; report-to default;" always;
And I can curl http://metlocsp:8080 from nginx so no conectivity issue. Still I don't get any report, any idea why?
Tried this as well and nothing
add_header Content-Security-Policy-Report-Only: "default-src 'self'; script-src 'self'; style-src 'self'; img-src 'self'; font-src 'self'; connect-src 'self'; object-src 'self'; frame-src 'self'; frame-ancestors 'self'; upgrade-insecure-requests; report-uri http://metlocsp:8080; report-to http://metlocsp:8080" always;
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I have this in my nginx
And I can curl http://metlocsp:8080 from nginx so no conectivity issue.
Still I don't get any report, any idea why?
Tried this as well and nothing
add_header Content-Security-Policy-Report-Only: "default-src 'self'; script-src 'self'; style-src 'self'; img-src 'self'; font-src 'self'; connect-src 'self'; object-src 'self'; frame-src 'self'; frame-ancestors 'self'; upgrade-insecure-requests; report-uri http://metlocsp:8080; report-to http://metlocsp:8080" always;
The text was updated successfully, but these errors were encountered: