Skip to content

Commit

Permalink
Report-Endpoints -> Reporting-Endpoints
Browse files Browse the repository at this point in the history
Signed-off-by: Levi Pesin <35454228+LeviPesin@users.noreply.github.com>
  • Loading branch information
LeviPesin committed Jul 23, 2023
1 parent 2c16d63 commit b076928
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Fixed
- Fix `Reporting-Endpoints` header incorrectly named as `Report-Endpoints` (...).

## [0.1.0] - 2023-07-10

### Added
Expand Down
2 changes: 1 addition & 1 deletion src/headers.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ include hsts.conf;

add_header Retry-After $retry_after always;

add_header Report-Endpoints "endpoint=\"{{ env.NGINX_REPORT_URL }}\", default=\"{{ env.NGINX_REPORT_URL }}\""; # reporting api (https://web.dev/reporting-api/ and https://web.dev/reporting-api-migration/)
add_header Reporting-Endpoints "endpoint=\"{{ env.NGINX_REPORT_URL }}\", default=\"{{ env.NGINX_REPORT_URL }}\""; # reporting api (https://web.dev/reporting-api/ and https://web.dev/reporting-api-migration/)

add_header NEL "{ \"report_to\": \"endpoint\", \"include_subdomains\": true, \"max_age\": 2592000 }";

Expand Down

0 comments on commit b076928

Please sign in to comment.