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

Redirect http -> https when on Heroku #61

Open
dryan opened this issue Nov 18, 2019 · 1 comment
Open

Redirect http -> https when on Heroku #61

dryan opened this issue Nov 18, 2019 · 1 comment

Comments

@dryan
Copy link
Contributor

dryan commented Nov 18, 2019

We should redirect insecure requests to the https version when not running locally. RACK_ENV would suffice as a flag for when to do this I believe.

Ideally we could also add HSTS headers to the API without the subdomain flag and set to expire after one year.

@dryan
Copy link
Contributor Author

dryan commented Nov 18, 2019

This isn't a priority before launch, very much a nice-to-have.

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

No branches or pull requests

1 participant