upstream sent too big header while reading response header from upstreamupstream sent too big header while reading response header from upstream — Intestazione dell'upstream troppo grande
Il server upstream ha inviato header di risposta più grandi del buffer di Nginx.
Cause di questo errore
Gli header di risposta upstream (inclusi Set-Cookie) superano proxy_buffer_size o fastcgi_buffer_size.
Come correggerlo
Aumentare proxy_buffer_size (o fastcgi_buffer_size) e proxy_buffers (o fastcgi_buffers). Ridurre la dimensione degli header di risposta provenienti dall'upstream.
Esempio
# Increase FastCGI buffer sizes
fastcgi_buffer_size 32k;
fastcgi_buffers 8 16k;Codici di errore correlati
bind() to 0.0.0.0:80 failed (98: Address already in use)bind() to 0.0.0.0:80 failed (98: Address already in use) — Porta già in Uso
Nginx non riesce a fare il bind all'indirizzo e alla porta richiesti.
404 Not Found404 Not Found — Nginx Risorsa Non Trovata
La risorsa richiesta non è stata trovata sul server.
SSL: error:0B080074:x509 certificate routinesSSL: error:0B080074:x509 certificate routines — Errore Certificato SSL
Si è verificato un errore di validazione del certificato SSL.
499 Client Closed Request499 Client Closed Request — Nginx Connessione Chiusa dal Client
Il client ha chiuso la connessione prima che il server inviasse una risposta.
400 Bad Request400 Bad Request — Richiesta Non Valida Nginx
Nginx ha rifiutato la richiesta del client a causa di una richiesta HTTP malformata.
too many open filestoo many open files — Limite File Descriptor Raggiunto
Nginx ha raggiunto il numero massimo di file descriptor aperti.