2
0
mirror of https://github.com/frappe/bench.git synced 2025-02-03 19:38:24 +00:00

Merge pull request #1108 from frappe/nginx_proxy_buffer

fix: nginx proxy buffer
This commit is contained in:
gavin 2021-02-04 18:36:13 +05:30 committed by GitHub
commit 2236913ac4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,6 +30,10 @@ server {
limit_conn per_host_{{ bench_name_hash }} 8; limit_conn per_host_{{ bench_name_hash }} 8;
{% endif %} {% endif %}
proxy_buffer_size 128k;
proxy_buffers 4 256k;
proxy_busy_buffers_size 256k;
{% if ssl_certificate and ssl_certificate_key %} {% if ssl_certificate and ssl_certificate_key %}
ssl on; ssl on;
ssl_certificate {{ ssl_certificate }}; ssl_certificate {{ ssl_certificate }};