uselagoon/lagoon

Docs: Insecure redirect defaults

Leksat opened this issue · 1 comments

Leksat commented

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 😁

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