Skip to content

Conversation

@peb-adr
Copy link
Member

@peb-adr peb-adr commented Mar 26, 2024

... if $HSTS is set at startup

@peb-adr peb-adr requested a review from jsangmeister March 26, 2024 18:01
@peb-adr
Copy link
Member Author

peb-adr commented Mar 26, 2024

I'm a bit unsure how good this solution really is.
It seems a bit cumbersome to iterate over each route to add N handlers that will add the response headers, but I couldn't find a more central place to take care of it in caddy's docs.

Copy link
Contributor

@jsangmeister jsangmeister left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds sensible

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