Skip to content

Enable adding preload tag to HSTS header #1247

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

Merged
merged 1 commit into from
Mar 6, 2019

Conversation

hchood
Copy link
Contributor

@hchood hchood commented Jan 3, 2019

Resolves #1248

We would like our domain to be listed on Chrome's HSTS preload list, which requires that the preload tag be appended to the HSTS header like so, and as described here:

max-age=3600; includeSubdomains; preload

@codecov
Copy link

codecov bot commented Jan 3, 2019

Codecov Report

Merging #1247 into master will increase coverage by 0.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1247      +/-   ##
==========================================
+ Coverage   84.22%   84.23%   +0.01%     
==========================================
  Files          26       26              
  Lines        1952     1954       +2     
==========================================
+ Hits         1644     1646       +2     
  Misses        202      202              
  Partials      106      106
Impacted Files Coverage Δ
middleware/secure.go 93.33% <100%> (+0.47%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 08db4bd...9336ce7. Read the comment docs.

@vishr
Copy link
Member

vishr commented Mar 6, 2019

@hchood Could you please resolve the conflict?

@hchood hchood force-pushed the enable-hsts-preload branch from 22a9859 to 9336ce7 Compare March 6, 2019 17:27
@hchood
Copy link
Contributor Author

hchood commented Mar 6, 2019

Done. Thanks for reviewing @vishr !

@vishr vishr merged commit 5434a53 into labstack:master Mar 6, 2019
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