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

Docs: Insecure redirect defaults #3648

Open
Leksat opened this issue Feb 7, 2024 · 1 comment
Open

Docs: Insecure redirect defaults #3648

Leksat opened this issue Feb 7, 2024 · 1 comment
Labels
7-documentation-examples Documentation & Examples / DX subsystem

Comments

@Leksat
Copy link
Contributor

Leksat commented Feb 7, 2024

Describe the bug

The documentation says that the default value for route's insecure parameter is Allow:

* `insecure`: Configures HTTP connections. Default is `Allow`.
* `Allow`: Route will respond to HTTP and HTTPS.
* `Redirect`: Route will redirect any HTTP request to HTTPS.

My experience does not confirm this. A route added without the insecure parameter redirects to HTTPS.

To Reproduce

  • Add a simple route to .lagoon.yml
  • => It redirects to HTTPS

Expected behavior

Docs reflect the actual behavior. Or vice versa 😁

@shreddedbacon
Copy link
Member

Yes you're right. It looks like the default is Redirect

@AlannaBurke AlannaBurke added the 7-documentation-examples Documentation & Examples / DX subsystem label Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
7-documentation-examples Documentation & Examples / DX subsystem
Projects
None yet
Development

No branches or pull requests

3 participants