@@ -26,8 +26,8 @@ type Backend struct {
26
26
AppRoot string `json:"app-root"`
27
27
28
28
// enables which HTTP codes should be passed for processing with the error_page directive
29
- // http ://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_intercept_errors
30
- // http ://nginx.org/en/docs/http/ngx_http_core_module.html#error_page
29
+ // https ://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_intercept_errors
30
+ // https ://nginx.org/en/docs/http/ngx_http_core_module.html#error_page
31
31
// By default this is disabled
32
32
CustomHTTPErrors []int `json:"custom-http-errors"`
33
33
@@ -37,77 +37,77 @@ type Backend struct {
37
37
// allows usage of CustomHTTPErrors without intercepting service errors
38
38
// e.g. custom 404 and 503 when service-a does not exist or is not available
39
39
// but service-a can return 404 and 503 error codes without intercept
40
- // http ://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_intercept_errors
40
+ // https ://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_intercept_errors
41
41
// By default this is false
42
42
DisableProxyInterceptErrors bool `json:"disable-proxy-intercept-errors"`
43
43
44
- // http ://nginx.org/en/docs/http/ngx_http_core_module.html#client_max_body_size
44
+ // https ://nginx.org/en/docs/http/ngx_http_core_module.html#client_max_body_size
45
45
// Sets the maximum allowed size of the client request body
46
46
ProxyBodySize string `json:"proxy-body-size"`
47
47
48
48
// Defines a timeout for establishing a connection with a proxied server.
49
49
// It should be noted that this timeout cannot usually exceed 75 seconds.
50
- // http ://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_connect_timeout
50
+ // https ://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_connect_timeout
51
51
ProxyConnectTimeout int `json:"proxy-connect-timeout"`
52
52
53
53
// Timeout in seconds for reading a response from the proxied server. The timeout is set only between
54
54
// two successive read operations, not for the transmission of the whole response
55
- // http ://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_read_timeout
55
+ // https ://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_read_timeout
56
56
ProxyReadTimeout int `json:"proxy-read-timeout"`
57
57
58
58
// Timeout in seconds for transmitting a request to the proxied server. The timeout is set only between
59
59
// two successive write operations, not for the transmission of the whole request.
60
- // http ://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_send_timeout
60
+ // https ://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_send_timeout
61
61
ProxySendTimeout int `json:"proxy-send-timeout"`
62
62
63
63
// Sets the number of the buffers used for reading a response from the proxied server
64
- // http ://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_buffers
64
+ // https ://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_buffers
65
65
ProxyBuffersNumber int `json:"proxy-buffers-number"`
66
66
67
67
// Sets the size of the buffer used for reading the first part of the response received from the
68
68
// proxied server. This part usually contains a small response header.
69
- // http ://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_buffer_size)
69
+ // https ://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_buffer_size
70
70
ProxyBufferSize string `json:"proxy-buffer-size"`
71
71
72
72
// Limits the total size of buffers that can be busy sending a response to the client while
73
73
// the response is not yet fully read.
74
- // http ://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_busy_buffers_size
74
+ // https ://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_busy_buffers_size
75
75
ProxyBusyBuffersSize string `json:"proxy-busy-buffers-size"`
76
76
77
77
// Sets a text that should be changed in the path attribute of the “Set-Cookie” header fields of
78
78
// a proxied server response.
79
- // http ://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cookie_path
79
+ // https ://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cookie_path
80
80
ProxyCookiePath string `json:"proxy-cookie-path"`
81
81
82
82
// Sets a text that should be changed in the domain attribute of the “Set-Cookie” header fields
83
83
// of a proxied server response.
84
- // http ://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cookie_domain
84
+ // https ://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cookie_domain
85
85
ProxyCookieDomain string `json:"proxy-cookie-domain"`
86
86
87
87
// Specifies in which cases a request should be passed to the next server.
88
- // http ://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_next_upstream
88
+ // https ://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_next_upstream
89
89
ProxyNextUpstream string `json:"proxy-next-upstream"`
90
90
91
91
// Limits the time during which a request can be passed to the next server.
92
- // http ://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_next_upstream_timeout
92
+ // https ://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_next_upstream_timeout
93
93
ProxyNextUpstreamTimeout int `json:"proxy-next-upstream-timeout"`
94
94
95
95
// Limits the number of possible tries for passing a request to the next server.
96
96
// https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_next_upstream_tries
97
97
ProxyNextUpstreamTries int `json:"proxy-next-upstream-tries"`
98
98
99
99
// Sets the original text that should be changed in the "Location" and "Refresh" header fields of a proxied server response.
100
- // http ://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_redirect
100
+ // https ://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_redirect
101
101
// Default: off
102
102
ProxyRedirectFrom string `json:"proxy-redirect-from"`
103
103
104
104
// Sets the replacement text that should be changed in the "Location" and "Refresh" header fields of a proxied server response.
105
- // http ://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_redirect
105
+ // https ://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_redirect
106
106
// Default: off
107
107
ProxyRedirectTo string `json:"proxy-redirect-to"`
108
108
109
109
// Enables or disables buffering of a client request body.
110
- // http ://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_request_buffering
110
+ // https ://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_request_buffering
111
111
ProxyRequestBuffering string `json:"proxy-request-buffering"`
112
112
113
113
// Name server/s used to resolve names of upstream servers into IP addresses.
@@ -131,14 +131,14 @@ type Backend struct {
131
131
UsePortInRedirects bool `json:"use-port-in-redirects"`
132
132
133
133
// Enables or disables relative redirects. By default nginx uses absolute redirects.
134
- // http ://nginx.org/en/docs/http/ngx_http_core_module.html#absolute_redirect
134
+ // https ://nginx.org/en/docs/http/ngx_http_core_module.html#absolute_redirect
135
135
// Default: false
136
136
RelativeRedirects bool `json:"relative-redirects"`
137
137
138
138
// Enable stickiness by client-server mapping based on a NGINX variable, text or a combination of both.
139
139
// A consistent hashing method will be used which ensures only a few keys would be remapped to different
140
140
// servers on upstream group changes
141
- // http ://nginx.org/en/docs/http/ngx_http_upstream_module.html#hash
141
+ // https ://nginx.org/en/docs/http/ngx_http_upstream_module.html#hash
142
142
UpstreamHashBy string `json:"upstream-hash-by"`
143
143
144
144
// Consistent hashing subset flag.
@@ -153,34 +153,34 @@ type Backend struct {
153
153
LoadBalancing string `json:"load-balance"`
154
154
155
155
// WhitelistSourceRange allows limiting access to certain client addresses
156
- // http ://nginx.org/en/docs/http/ngx_http_access_module.html
156
+ // https ://nginx.org/en/docs/http/ngx_http_access_module.html
157
157
WhitelistSourceRange []string `json:"whitelist-source-range"`
158
158
159
159
// DenylistSourceRange allows limiting access to certain client addresses
160
- // http ://nginx.org/en/docs/http/ngx_http_access_module.html
160
+ // https ://nginx.org/en/docs/http/ngx_http_access_module.html
161
161
DenylistSourceRange []string `json:"denylist-source-range"`
162
162
163
163
// Limits the rate of response transmission to a client.
164
164
// The rate is specified in bytes per second. The zero value disables rate limiting.
165
165
// The limit is set per a request, and so if a client simultaneously opens two connections,
166
166
// the overall rate will be twice as much as the specified limit.
167
- // http ://nginx.org/en/docs/http/ngx_http_core_module.html#limit_rate
167
+ // https ://nginx.org/en/docs/http/ngx_http_core_module.html#limit_rate
168
168
LimitRate int `json:"limit-rate"`
169
169
170
170
// Sets the initial amount after which the further transmission of a response to a client will be rate limited.
171
- // http ://nginx.org/en/docs/http/ngx_http_core_module.html#limit_rate_after
171
+ // https ://nginx.org/en/docs/http/ngx_http_core_module.html#limit_rate_after
172
172
LimitRateAfter int `json:"limit-rate-after"`
173
173
174
174
// Enables or disables buffering of responses from the proxied server.
175
- // http ://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_buffering
175
+ // https ://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_buffering
176
176
ProxyBuffering string `json:"proxy-buffering"`
177
177
178
178
// Modifies the HTTP version the proxy uses to interact with the backend.
179
- // http ://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_http_version
179
+ // https ://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_http_version
180
180
ProxyHTTPVersion string `json:"proxy-http-version"`
181
181
182
182
// Sets the maximum temp file size when proxy-buffers capacity is exceeded.
183
- // http ://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_max_temp_file_size
183
+ // https ://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_max_temp_file_size
184
184
ProxyMaxTempFileSize string `json:"proxy-max-temp-file-size"`
185
185
186
186
// By default, the NGINX ingress controller uses a list of all endpoints (Pod IP/port) in the NGINX upstream configuration.
0 commit comments