From 389e0f527c864d75f07a4f88f93892ac1ec3e1a1 Mon Sep 17 00:00:00 2001 From: Arjan Schaaf Date: Fri, 21 Apr 2017 14:57:45 +0200 Subject: [PATCH] Nginx sticky annotations #258 made the global enable-sticky-sessions obsolete --- controllers/nginx/configuration.md | 2 -- controllers/nginx/pkg/config/config.go | 5 ----- 2 files changed, 7 deletions(-) diff --git a/controllers/nginx/configuration.md b/controllers/nginx/configuration.md index 861f956fd..b5b19b627 100644 --- a/controllers/nginx/configuration.md +++ b/controllers/nginx/configuration.md @@ -260,8 +260,6 @@ Example usage: `custom-http-errors: 404,415` **enable-dynamic-tls-records:** Enables dynamically sized TLS records to improve time-to-first-byte. Enabled by default. See [CloudFlare's blog](https://blog.cloudflare.com/optimizing-tls-over-tcp-to-reduce-latency) for more information. -**enable-sticky-sessions:** Enables sticky sessions using cookies. This is provided by [nginx-sticky-module-ng](https://bitbucket.org/nginx-goodies/nginx-sticky-module-ng) module. - **enable-underscores-in-headers:** Enables underscores in header names. This is disabled by default. **enable-vts-status:** Allows the replacement of the default status page with a third party module named [nginx-module-vts](https://github.com/vozlt/nginx-module-vts). diff --git a/controllers/nginx/pkg/config/config.go b/controllers/nginx/pkg/config/config.go index 92f512b9e..d3042ce45 100644 --- a/controllers/nginx/pkg/config/config.go +++ b/controllers/nginx/pkg/config/config.go @@ -111,11 +111,6 @@ type Configuration struct { // By default this is enabled IgnoreInvalidHeaders bool `json:"ignore-invalid-headers"` - // EnableStickySessions enabled sticky sessions using cookies - // https://bitbucket.org/nginx-goodies/nginx-sticky-module-ng - // By default this is disabled - EnableStickySessions bool `json:"enable-sticky-sessions,omitempty"` - // EnableVtsStatus allows the replacement of the default status page with a third party module named // nginx-module-vts - https://github.com/vozlt/nginx-module-vts // By default this is disabled