Set HSTS header #1694

Open
opened 2025-11-02 04:09:48 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @PaulSzymanski on GitHub (Apr 12, 2018).

Since version 1.4.0 Gitea can redirect from port 80 to 443 by itself but a reverse proxy is still necessary to set the HSTS header...

Originally created by @PaulSzymanski on GitHub (Apr 12, 2018). Since version 1.4.0 Gitea can redirect from port 80 to 443 by itself but a reverse proxy is still necessary to set the HSTS header...
GiteaMirror added the issue/confirmedtype/enhancement labels 2025-11-02 04:09:48 -06:00
Author
Owner

@techknowlogick commented on GitHub (Jun 27, 2018):

Linking this to #305 as it is related

@techknowlogick commented on GitHub (Jun 27, 2018): Linking this to #305 as it is related
Author
Owner

@zeripath commented on GitHub (Jan 20, 2019):

This should be easy to do if anyone is able to look into the standard.

@zeripath commented on GitHub (Jan 20, 2019): This should be easy to do if anyone is able to look into the standard.
Author
Owner

@techknowlogick commented on GitHub (Mar 21, 2019):

I've just published: https://github.com/techknowlogick/macaron-hsts (import URL: src.techknowlogick.com/macaron-hsts) which can be added as a middleware to set the header

@techknowlogick commented on GitHub (Mar 21, 2019): I've just published: https://github.com/techknowlogick/macaron-hsts (import URL: src.techknowlogick.com/macaron-hsts) which can be added as a middleware to set the header
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#1694