Commit graph

606 commits

Author SHA1 Message Date
Manuel Alejandro de Brito Fontes
1e943c0fc0 Merge pull request #1330 from diazjf/template-unit-tests
Increase coverage in template.go for nginx controller
2017-09-10 12:48:52 -07:00
Fernando Diaz
c4293bcc38 Increase coverage in template.go for nginx controller
Adds some of the missing unit tests to template.go for the nginx
controller.
2017-09-10 11:57:14 -05:00
Milosz Tanski
2120aab66c POC: Setting upstream vhost for nginx.
In the current k8 ingress there's no way to control "Host" header sent
to upstream server; it's always the configured vhost.

It's desirable to support custom Host header when proxying for a number
of cases. One such case is forwarding to an Service that points to an
external host that expect a host paramater (like AWS S3 buckets).
There's a number of others.

By default nginx set Host to the upstreams domain name (and not the one
passed in) like K8 always forces. This provided an escape hatch to this
behavior.
2017-09-10 11:38:53 -04:00
Manuel de Brito Fontes
13f47ad56b Pass headers from the custom error backend 2017-09-09 14:38:48 -03:00
Manuel de Brito Fontes
3e4542e595 Enable keepalive in upstreams 2017-09-08 16:53:31 -03:00
Manuel de Brito Fontes
109ee27013 Release nginx ingress controller 0.9.0-beta.13 2017-09-08 11:56:25 -03:00
Manuel de Brito Fontes
0c8f81301f Fix custom error pages 2017-09-07 20:39:58 -03:00
Manuel Alejandro de Brito Fontes
d8c7166891 Merge pull request #1312 from aledbf/custom-header
Allow custom forwarded for header
2017-09-07 14:27:15 -07:00
Manuel Alejandro de Brito Fontes
e05ac9b4bd Merge pull request #1313 from aledbf/fix-template
Fix eol in nginx template
2017-09-07 14:26:21 -07:00
Manuel de Brito Fontes
c24e212aac Allow custom forwarded for header 2017-09-07 18:11:23 -03:00
Manuel Alejandro de Brito Fontes
7a31952892 Merge pull request #1308 from mindw/patch-1
A trivial typo in config
2017-09-07 11:58:17 -07:00
Manuel de Brito Fontes
87e8b7255a Fix eol in nginx template 2017-09-07 13:48:36 -03:00
Manuel Alejandro de Brito Fontes
6146bc4dc2 Merge pull request #1310 from aledbf/fix-config
Refactoring nginx configuration configmap
2017-09-07 09:45:32 -07:00
Manuel de Brito Fontes
5050307ea9 Enable nginx async writes 2017-09-07 13:40:10 -03:00
Manuel de Brito Fontes
e57b90636b Refactoring nginx configuration configmap 2017-09-07 13:15:36 -03:00
Gabi Davar
1f61dc9229 A trivial typo in config 2017-09-07 17:46:41 +03:00
du
f6946738f8 [nginx/README] fix broken link on how to generate secrets containing SSL certificates 2017-09-05 14:28:07 +08:00
du
712a8421df [nginx/README] fix unusable deployment guide 2017-09-05 14:17:29 +08:00
du
710eaffc69 fix README of nginx-ingress-controller 2017-09-04 16:57:44 +08:00
Ricardo Pchevuzinske Katz
d33b748716
Adds support for error page in Client Certificate Authentication 2017-09-03 17:12:03 -03:00
Manuel Alejandro de Brito Fontes
528cb8b040 Merge pull request #1288 from dwelch2344/master
Allow PATCH in enable-cors
2017-09-02 17:42:33 -03:00
Chance Zibolski
d793d53636 Update nginx readme with latest nginx --help usage 2017-09-01 15:29:03 -07:00
David Welch
8abbd1ae8c Allow PATCH in enable-cors 2017-09-01 10:54:41 -06:00
Manuel de Brito Fontes
a5432bf3a0 Fix listen error in aws 2017-08-31 14:28:20 -03:00
Manuel de Brito Fontes
57a18d11bd Fix nginx stats 2017-08-31 14:19:32 -03:00
danielqsj
e9a14cbe97 Add indent for nginx.conf 2017-08-31 17:10:12 +08:00
Manuel Alejandro de Brito Fontes
58c94d40e4 Merge pull request #1272 from danielqsj/delete-useless-statement
Delete useless statement
2017-08-30 18:04:35 -04:00
Nick Sardo
eca88e4f24 Merge pull request #1266 from aledbf/b12-a3
Release nginx ingress controller 0.9.0-beta.12
2017-08-30 12:56:11 -07:00
danielqsj
493aede7fe Delete useless statement 2017-08-30 17:03:50 +08:00
harryge00
6dd1b0b129 add missing yamls in controllers/nginx 2017-08-30 16:21:20 +08:00
Manuel de Brito Fontes
9807b691b7 Release nginx ingress controller 0.9.0-beta.12 2017-08-29 17:28:50 -03:00
Manuel de Brito Fontes
e65d3c7571 Improve logs 2017-08-29 16:40:03 -03:00
Max Laverse
73d8ddd3d1 Graceful shutdown for Nginx 2017-08-29 20:47:55 +02:00
Max Laverse
d9e7d1eabc Add support for 'worker-shutdown-timeout' 2017-08-29 11:55:59 +02:00
Manuel Alejandro de Brito Fontes
9e7c542519 Merge pull request #1248 from aledbf/pprof
Improve nginx controller performance
2017-08-26 08:56:06 -04:00
Manuel de Brito Fontes
fabe37bfe5 Improve nginx controller performance 2017-08-26 00:49:57 -03:00
Manuel de Brito Fontes
edcc3dfc81 Make Ingress annotations available in template 2017-08-25 22:39:30 -03:00
Manuel de Brito Fontes
a85cfd10b5 Add additional headers when custom default backend is used 2017-08-25 20:56:08 -03:00
Manuel Alejandro de Brito Fontes
b791460206 Merge pull request #1244 from aledbf/add-custom-backend-annotation
Add custom default backend annotation
2017-08-25 15:15:17 -04:00
Manuel de Brito Fontes
bf12e793f6 Add custom backend annotation 2017-08-25 15:49:52 -03:00
Manuel Alejandro de Brito Fontes
d2546d0291 Merge pull request #1212 from danielqsj/bind-address
Add option to specify addresses on which the server will accept
2017-08-25 12:05:52 -04:00
Max Laverse
dd00b6d7b3 Add support for access-log-path and error-log-path 2017-08-25 14:03:09 +02:00
danielqsj
06f237c66d Add options to bind address 2017-08-25 10:24:32 +08:00
Manuel Alejandro de Brito Fontes
e7d2ff6fac Merge pull request #1239 from aledbf/pc
Add flags to customize listen ports and detect port collisions
2017-08-24 10:23:59 -04:00
Manuel de Brito Fontes
0459674931 Add flags to customize listen ports and detect port collisions 2017-08-24 10:56:08 -03:00
Daniel Fernandes Martins
d57bc292c3 Add support for 'client_body_timeout' and 'client_header_timeout' 2017-08-24 09:33:35 -03:00
Fernando Diaz
86357332e3 Add Validation for Client Body Buffer Size
Adds validation so that if a bad value is input into the client
body buffer size annotation then client_body_buffer_size is not set.
That way a log error is thrown and it fails gracefully rather than
killing the ingress controller.
2017-08-23 20:04:51 -05:00
Manuel de Brito Fontes
210ddb797a Fix Equal comparison 2017-08-23 17:52:17 -03:00
Manuel de Brito Fontes
b7b41248cb Lint code 2017-08-23 15:40:57 -03:00
Manuel Alejandro de Brito Fontes
f593cb8e2f Merge pull request #1226 from danielqsj/useless-variable
Remove useless variable in nginx.tmpl
2017-08-23 13:01:34 -04:00