mirror of
https://github.com/YunoHost-Apps/cac-proxy_ynh.git
synced 2024-09-03 18:16:07 +02:00
Fix error avoid error upstream sent too big header with sites likes newpharma.fr
This commit is contained in:
parent
82e0e28546
commit
37b932c514
1 changed files with 13 additions and 0 deletions
|
@ -7,6 +7,19 @@ location __PATH__/ {
|
||||||
proxy_read_timeout 86400s;
|
proxy_read_timeout 86400s;
|
||||||
proxy_send_timeout 86400s;
|
proxy_send_timeout 86400s;
|
||||||
|
|
||||||
|
# tips by zonetuto.fr #
|
||||||
|
# avoid error upstream sent too big header
|
||||||
|
|
||||||
|
# fastcgi buffers for php-fpm #
|
||||||
|
fastcgi_buffers 16 32k;
|
||||||
|
fastcgi_buffer_size 64k;
|
||||||
|
fastcgi_busy_buffers_size 64k;
|
||||||
|
|
||||||
|
# nginx buffers #
|
||||||
|
proxy_buffer_size 128k;
|
||||||
|
proxy_buffers 4 256k;
|
||||||
|
proxy_busy_buffers_size 256k;
|
||||||
|
|
||||||
# Include SSOWAT user panel.
|
# Include SSOWAT user panel.
|
||||||
# include conf.d/yunohost_panel.conf.inc;
|
# include conf.d/yunohost_panel.conf.inc;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue