You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -247,6 +247,7 @@ _Note that Kubernetes annotation maps are all of Go type `map[string]string`. A
247
247
| <aname="use-proxy-protocol"></a>deis-router | deployment |[router.deis.io/nginx.useProxyProtocol](#use-proxy-protocol)|`"false"`| PROXY is a simple protocol supported by nginx, HAProxy, Amazon ELB, and others. It provides a method to obtain information about a request's originating IP address from an external (to Kubernetes) load balancer in front of the router. Enabling this option allows the router to select the originating IP from the HTTP `X-Forwarded-For` header. |
248
248
| <aname="disable-server-tokens"></a>deis-router | deployment |[router.deis.io/nginx.disableServerTokens](#disable-server-tokens)|`"false"`| Enables or disables emitting nginx version in error messages and in the “Server” response header field. |
249
249
| <aname="enforce-whitelists"></a>deis-router | deployment |[router.deis.io/nginx.enforceWhitelists](#enforce-whitelists)|`"false"`| Whether to _require_ application-level whitelists that explicitly enumerate allowed clients by IP / CIDR range. With this enabled, each app will drop _all_ requests unless a whitelist has been defined. |
250
+
| <aname="enable-regex-domains"></a>deis-router | deployment |[router.deis.io/nginx.enableRegexDomains](#enable-regex-domains)|`"false"`| Whether to _enable_ application-level regex domain that can be explicitly defined for specific applications. With this option enabled, each app can have its own regex domain in server_name blocks of the nginx config. This allows for useful domains like `store-number-\d*.example.com`. |
250
251
| <aname="default-whitelist"></a>deis-router | deployment |[router.deis.io/nginx.defaultWhitelist](#default-whitelist)| N/A | A default (router-wide) whitelist expressed as a comma-delimited list of addresses (using IP or CIDR notation). Application-specific whitelists can either extend or override this default. |
251
252
| <aname="whitelist-mode"></a>deis-router | deployment |[router.deis.io/nginx.whitelistMode](#whitelist-mode)|`"extend"`| Whether application-specific whitelists should extend or override the router-wide default whitelist (if defined). Valid values are `"extend"` and `"override"`. |
252
253
| <aname="default-service-enabled"></a>deis-router | deployment |[router.deis.io/nginx.defaultServiceEnabled](#default-service-enabled)|`"false"`| Enables default back-end service for traffic hitting /. In order to work correctly both `defaultServiceIP` and `DefaultAppName` MUST also be set. |
@@ -272,6 +273,7 @@ _Note that Kubernetes annotation maps are all of Go type `map[string]string`. A
272
273
| <aname="builder-connect-timeout"></a>deis-builder | service |[router.deis.io/nginx.connectTimeout](#builder-connect-timeout)|`"10s"`| nginx `proxy_connect_timeout` setting expressed in units `ms`, `s`, `m`, `h`, `d`, `w`, `M`, or `y`. |
273
274
| <aname="builder-tcp-timeout"></a>deis-builder | service |[router.deis.io/nginx.tcpTimeout](#builder-tcp-timeout)|`"1200s"`| nginx `proxy_timeout` setting expressed in units `ms`, `s`, `m`, `h`, `d`, `w`, `M`, or `y`. |
274
275
| <aname="app-domains"></a>routable application | service |[router.deis.io/domains](#app-domains)| N/A | Comma-delimited list of domains for which traffic should be routed to the application. These may be fully qualified (e.g. `foo.example.com`) or, if not containing any `.` character, will be considered subdomains of the router's domain, if that is defined. |
276
+
| <aname="app-regex-domain"></a>routable application | service |[router.deis.io/regexDomain](#app-regex-domain)| N/A | A string that represents the regex domain for which traffic should be routed to the application. This is the regex domain (e.g. `foo-store-\d*`) if not containing any `.` character and will be considered a subdomain of the router's domain, if that is defined. The regex domain cannot be a fully qualified name (e.g. `foo-store-\d*.example.com`) for safety and security right now. This feature must be enabled on the router via enable-regex-domain annotation above. |
275
277
| <aname="app-certificates"></a>routable application | service |[router.deis.io/certificates](#app-certificates)| N/A | Comma delimited list of mappings between domain names (see `router.deis.io/domains`) and the certificate to be used for each. The domain name and certificate name must be separated by a colon. See the [SSL section](#ssl) below for further details. |
276
278
| <aname="app-whitelist"></a>routable application | service |[router.deis.io/whitelist](#app-whitelist)| N/A | Comma-delimited list of addresses permitted to access the application (using IP or CIDR notation). These may either extend or override the router-wide default whitelist (if defined). Requests from all other addresses are denied. |
277
279
| <aname="app-connect-timeout"></a>routable application | service |[router.deis.io/connectTimeout](#app-connect-timeout)|`"30s"`| nginx `proxy_connect_timeout` setting expressed in units `ms`, `s`, `m`, `h`, `d`, `w`, `M`, or `y`. |
0 commit comments