Hi,
I'm wondering if there is a ready way to add a checksum (e.g. CRC) to the
end of each log entry before they get written to the "access" or "error" log
files? One of the project I work on wants each log line to have its own
checksum for some integrity checks.
Any hint on how I can implement th
Hi all,
I'm using nginx as a Revers proxy to a service (A). nginx receives a large
number of persistent connections from a single client service(B).
Service B sends a lot of requests (2K rps) over these persistent
connections.
The amount of memory nginx uses seems to increase as a function of
'k
Thanks Maxim Dounin,
The trick worked.
I did something like the following:
server {
large_client_header_buffers 12 64;
...
error_page 494 =400 /400.json;
error_page 400 /400.json;
location = /400.json {
add_header Funky-Header1 'Funky Value' always;
root /etc/nginx/error-files/;
s the request and dumps a default error page instead of
my custom error page.
400 Request Header Or Cookie Too Large
400 Bad Request
Request Header Or Cookie Too Large
nginx
How can I get a CUSTOM ERROR page for this situation working instead of the
default page.
Thanks
Cheers
prajos
Posted at