Skip to content
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

Set HSTS header #3788

Open
PaulSzymanski opened this issue Apr 12, 2018 · 3 comments
Open

Set HSTS header #3788

PaulSzymanski opened this issue Apr 12, 2018 · 3 comments
Labels
issue/confirmed Issue has been reviewed and confirmed to be present or accepted to be implemented type/enhancement An improvement of existing functionality

Comments

@PaulSzymanski
Copy link

PaulSzymanski commented 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...

@techknowlogick techknowlogick added the type/enhancement An improvement of existing functionality label Jun 27, 2018
@techknowlogick
Copy link
Member

Linking this to #305 as it is related

@stale stale bot added the issue/stale label Jan 20, 2019
@zeripath
Copy link
Contributor

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

@stale stale bot removed the issue/stale label Jan 20, 2019
@stale stale bot added the issue/stale label Mar 21, 2019
@techknowlogick techknowlogick added issue/confirmed Issue has been reviewed and confirmed to be present or accepted to be implemented and removed issue/stale labels Mar 21, 2019
@go-gitea go-gitea deleted a comment from stale bot Mar 21, 2019
@go-gitea go-gitea deleted a comment from stale bot Mar 21, 2019
@techknowlogick
Copy link
Member

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

project-mirrors-bot-tu bot pushed a commit to project-mirrors/forgejo-as-gitea-fork that referenced this issue Jan 23, 2025
…repos' (go-gitea#3788) from bp-v7.0/forgejo-5e73c67-2ac3dcb into v7.0/forgejo

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3788
Reviewed-by: oliverpool <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue/confirmed Issue has been reviewed and confirmed to be present or accepted to be implemented type/enhancement An improvement of existing functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants