{"config":{"lang":["en"],"min_search_length":3,"prebuild_index":false,"separator":"[\\s\\-]+"},"docs":[{"location":"","text":"Overview \u00b6 This is the documentation for the Ingress NGINX Controller. It is built around the Kubernetes Ingress resource , using a ConfigMap to store the controller configuration. You can learn more about using Ingress in the official Kubernetes documentation . Getting Started \u00b6 See Deployment for a whirlwind tour that will get you started.","title":"Welcome"},{"location":"#overview","text":"This is the documentation for the Ingress NGINX Controller. It is built around the Kubernetes Ingress resource , using a ConfigMap to store the controller configuration. You can learn more about using Ingress in the official Kubernetes documentation .","title":"Overview"},{"location":"#getting-started","text":"See Deployment for a whirlwind tour that will get you started.","title":"Getting Started"},{"location":"e2e-tests/","text":"e2etestsuiteforIngressNGINXController\u00b6[Admission]admissioncontroller\u00b6rejectingresswithglobal-rate-limitannotationswhenmemcachedisnotconfiguredshouldnotallowoverlapsofhostandpathswithoutcanaryannotationsshouldallowoverlapsofhostandpathswithcanaryannotationshouldblockingresswithinvalidpathshouldreturnanerrorifthereisanerrorvalidatingtheingressdefinitionshouldreturnanerrorifthereisaninvalidvalueinsomeannotationshouldreturnanerrorifthereisaforbiddenvalueinsomeannotationshouldreturnanerrorifthereisaninvalidpathandwrongpathTypeissetshouldnotreturnanerroriftheIngressV1definitionisvalidwithIngressClassshouldnotreturnanerroriftheIngressV1definitionisvalidwithIngressClassannotationshouldreturnanerroriftheIngressV1definitioncontainsinvalidannotationsshouldnotreturnanerrorforaninvalidIngresswhenithasunknownclassaffinitysession-cookie-name\u00b6shouldsetstickycookieSERVERIDshouldchangecookienameoningressdefinitionchangeshouldsetthepathto/somethingonthegeneratedcookiedoesnotsetthepathto/onthegeneratedcookieifthere'smorethanonerulereferringtothesamebackendshouldsetcookiewithexpiresshouldsetcookiewithdomainshouldnotsetcookiewithoutdomainannotationshouldworkwithuse-regexannotationandsession-cookie-pathshouldwarnuserwhenuse-regexistrueandsession-cookie-pathisnotsetshouldnotsetaffinityacrossallserverlocationswhenusingseparateingressesshouldsetstickycookiewithouthostshouldworkwithserver-aliasannotationshouldsetsecureincookiewithprovidedtrueannotationonhttpshouldnotsetsecureincookiewithprovidedfalseannotationonhttpshouldsetsecureincookiewithprovidedfalseannotationonhttpsaffinitymode\u00b6BalancedaffinitymodeshouldbalanceCheckpersistentaffinitymodeserver-alias\u00b6shouldreturnstatuscode200forhost'foo'and404for'bar'shouldreturnstatuscode200forhost'foo'and'bar'shouldreturnstatuscode200forhostsdefinedintwoingresses,differentpathwithonealiasapp-root\u00b6shouldredirectto/fooauth-*\u00b6shouldreturnstatuscode200whennoauthenticationisconfiguredshouldreturnstatuscode503whenauthenticationisconfiguredwithaninvalidsecretshouldreturnstatuscode401whenauthenticationisconfiguredbutAuthorizationheaderisnotconfiguredshouldreturnstatuscode401whenauthenticationisconfiguredandAuthorizationheaderissentwithinvalidcredentialsshouldreturnstatuscode401andcorsheaderswhenauthenticationandcorsisconfiguredbutAuthorizationheaderisnotconfiguredshouldreturnstatuscode200whenauthenticationisconfiguredandAuthorizationheaderissentshouldreturnstatuscode200whenauthenticationisconfiguredwithamapandAuthorizationheaderissentshouldreturnstatuscode401whenauthenticationisconfiguredwithinvalidcontentandAuthorizationheaderissentwhenexternalauthiscon