We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 417ca15 commit b0bfd65Copy full SHA for b0bfd65
components/proxy/conf/Caddyfile
@@ -285,7 +285,18 @@ https://{$GITPOD_DOMAIN} {
285
handle @to_server {
286
import compression
287
288
- reverse_proxy server.{$KUBE_NAMESPACE}.{$KUBE_DOMAIN}:3000 {
+ forward_auth server.{$KUBE_NAMESPACE}.{$KUBE_DOMAIN}:3000 {
289
+ uri /feature-flags/slow-database
290
+ copy_headers X-Gitpod-Slow-Database
291
+ }
292
+
293
+ import slow_fast_matchers
294
295
+ reverse_proxy @fast server.{$KUBE_NAMESPACE}.{$KUBE_DOMAIN}:3000 {
296
+ import upstream_connection
297
298
299
+ reverse_proxy @slow slow-server.{$KUBE_NAMESPACE}.{$KUBE_DOMAIN}:3000 {
300
import upstream_connection
301
}
302
0 commit comments