diff options
author | Bjørn Christian Seime <bjorncs@verizonmedia.com> | 2020-03-09 15:46:42 +0100 |
---|---|---|
committer | Bjørn Christian Seime <bjorncs@verizonmedia.com> | 2020-03-09 15:46:42 +0100 |
commit | e15ef1f1b26ba0c7c844f2f0835416165bf5703d (patch) | |
tree | b9cf254327fbd970057fd445cbeb7f6578416bfd /flags | |
parent | 4390a0a5c47681708ce4e6665fce64d4214d3461 (diff) |
Introduce feature flag for enabling proxy-protocol on application containers
Diffstat (limited to 'flags')
-rw-r--r-- | flags/src/main/java/com/yahoo/vespa/flags/Flags.java | 5 |
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 a142154c527..dd46c4b78dd 100644 --- a/flags/src/main/java/com/yahoo/vespa/flags/Flags.java +++ b/flags/src/main/java/com/yahoo/vespa/flags/Flags.java @@ -261,6 +261,11 @@ public class Flags { "Takes effect on redeploy", ZONE_ID, APPLICATION_ID); + public static final UnboundStringFlag PROXY_PROTOCOL = defineStringFlag( + "proxy-protocol", "https-only", + "Enable proxy protocol support on application containers. Allowed values: ['https-only', 'https+proxy-protocol', 'proxy-protocol-only']", + "Takes effect on internal redeploy"); + /** 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) { |