Audit Nginx Configurations for API service Migration
Utilize this issue to audit the nginx configuration that we will be utilizing on the API service that sits between haproxy and the webservice Pods when compared against the existing VM setup.
Following investigation:
Before
config item | VM | kubernetes | nginx default | Status |
---|---|---|---|---|
client_max_body_size |
5,368,709,120 bytes | 0 | 1m | |
proxy_read_timeout |
3600 | 3600s | 60s | |
proxy_send_timeout |
nginx default | 60s | 60s | |
proxy_connect_timeout |
300 | 300s | 60s | |
proxy_buffering |
nginx default | off | on | |
proxy_request_buffering |
nginx default; with caveats | off | on | |
proxy_max_temp_file_size |
nginx default | 1024m | 1024m |
After
config item | VM | kubernetes | nginx default | Status |
---|---|---|---|---|
client_max_body_size |
5,368,709,120 bytes | 0 | 1m |
|
proxy_read_timeout |
3600 | 3600s | 60s | |
proxy_send_timeout |
nginx default | 60s | 60s | |
proxy_connect_timeout |
300 | 300s | 60s | |
proxy_buffering |
nginx default | on | on |
|
proxy_request_buffering |
nginx default; with caveats | on; with caveats | on |
|
proxy_max_temp_file_size |
nginx default | 1024m | 1024m |
The above caveat and purposeful items are addressed in this comment: #1683 (comment 564923760)
This issue will be used to match configurations where needed.
Edited by John Skarbek