aboutsummaryrefslogtreecommitdiffstats
path: root/flags
diff options
context:
space:
mode:
authorBjørn Christian Seime <bjorncs@verizonmedia.com>2020-03-27 12:46:37 +0100
committerBjørn Christian Seime <bjorncs@verizonmedia.com>2020-03-27 12:46:37 +0100
commitd772522499db381df8ee43fea95343e1500dcfef (patch)
tree0db6c0d1afae41920deb978c564d1994d0c51dbd /flags
parente63f7068d3716ef7aa174d6ae7c9a5a5dd754ee3 (diff)
Add feature flag to enable Nginx upstream proxy protocol
Diffstat (limited to 'flags')
-rw-r--r--flags/src/main/java/com/yahoo/vespa/flags/Flags.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/flags/src/main/java/com/yahoo/vespa/flags/Flags.java b/flags/src/main/java/com/yahoo/vespa/flags/Flags.java
index c3d9d74ed68..0a47fcf7032 100644
--- a/flags/src/main/java/com/yahoo/vespa/flags/Flags.java
+++ b/flags/src/main/java/com/yahoo/vespa/flags/Flags.java
@@ -262,6 +262,11 @@ public class Flags {
"Takes effect on redeploy",
APPLICATION_ID);
+ public static final UnboundBooleanFlag NGINX_UPSTREAM_PROXY_PROTOCOL = defineFeatureFlag(
+ "nginx-upstream-proxy-protocol", false,
+ "Whether the nginx should enable proxy-protocol for all upstreams",
+ "Takes effect immediately");
+
/** WARNING: public for testing: All flags should be defined in {@link Flags}. */
public static UnboundBooleanFlag defineFeatureFlag(String flagId, boolean defaultValue, String description,
String modificationEffect, FetchVector.Dimension... dimensions) {