diff options
Diffstat (limited to 'host.nix')
| -rw-r--r-- | host.nix | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -110,6 +110,7 @@ fi install -m 644 ca.crt ca.pem cd ${runDir} + rm -f decrypt.sock # in case nginx didn't get to clean up openssl req -x509 -new -newkey ec -pkeyopt ec_paramgen_curve:prime256v1 \ -nodes -days 1 -subj /CN=unused -keyout unused.key -out unused.crt 2>/dev/null ''; @@ -180,6 +181,11 @@ proxy_set_header Connection ""; proxy_buffering off; proxy_request_buffering off; + # Room for big response headers (github.com's are over 8k); the + # other two only have to fit with it. + proxy_buffer_size 64k; + proxy_buffers 4 64k; + proxy_busy_buffers_size 128k; } } } |
