From ff75b2092a8fe83f64c4c8f39ff4fc71decf4803 Mon Sep 17 00:00:00 2001 From: Christoph Herzog Date: Wed, 24 Jul 2024 23:19:20 +0200 Subject: [PATCH] feat: Document Edge app https redirect --- pages/edge/configuration.mdx | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/pages/edge/configuration.mdx b/pages/edge/configuration.mdx index cc08846..25b72d6 100644 --- a/pages/edge/configuration.mdx +++ b/pages/edge/configuration.mdx @@ -108,6 +108,26 @@ The `debug` field is used to enable debug mode for the application. This in turn - Required: `false` - Default: `false` +### `redirect` + +#### `redirect.force_https` + +Redirect all HTTP requests to HTTPS. + +**NOTE**: the default value is `true`, so HTTP requests will be redirected to +HTTPS automatically. + +Set this value to `false` to disable redirects. + +- Required: `false` +- Default: `true` + +Example: +```yaml filename="app.yaml" copy +redirect: + force_https: false +``` + ### `capabilities` #### `instaboot`