-
Notifications
You must be signed in to change notification settings - Fork 105
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
Custom HTTP redirects #856
Comments
Adding the header is just enough, see Nginx's doc for example. So I added the header description to the Wiki pages
and close the task. |
Actually, while we're send HTTP redirects on JS and cookie challenges, we're still unable to send custom redirects, e.g. if a user wants to redirect all HTTP traffic to some other HTTPS resource. Anyway HTTP redirects are very useful for HTTP proxies, so I redefine the issue and reopen it. See https://tools.ietf.org/html/rfc7231#section-6.4 and https://tools.ietf.org/html/rfc7538 for the standard for the redirections. JS and cookie redirects shall use the same mechanism as for generic redirects. HTTPtables redirect actionHTTPtables must be able to redirect an HTTP request by a new redirect action. Just like Nginx we should support relative and absolute redirects.
, where Example configuration:
VariablesNote that we need to introduce the
See #907 for the design considerations. Documentation and testingPlease update the wiki pages mentioned above and the page for HTTP tables. Please provide full example for HSTS (like there is a full configuration for Nginx in the doc). Upon the release deploy the redirects on tempesta-tech.com site. Testing issue is tempesta-tech/tempesta-test#214 |
While HSTS (RFC 6797) can be implemented just by adding
Strict-Transport-Security
header, there also must be implemented redirect from HTTP port to the same URL by HTTPS (HTTP redirects are common practice for HSTS implementation).Please add a functional test for HSTS checking that the right header is added to all the responses and HTTP request is correctly redirected to HTTPS.
The Wiki update is required - we have to add redirect statement.
The text was updated successfully, but these errors were encountered: