Open PaulSzymanski opened 6 years ago
Linking this to #305 as it is related
This should be easy to do if anyone is able to look into the standard.
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
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...