Expand nginx body size limit to 2.5GB to handle 2G PCAPs from sensors

This commit is contained in:
Jason Ertel
2020-09-01 10:07:24 -04:00
parent 45c0a7ac77
commit ff5d1cd815
6 changed files with 6 additions and 6 deletions

View File

@@ -29,7 +29,7 @@ http {
tcp_nodelay on;
keepalive_timeout 65;
types_hash_max_size 2048;
client_max_body_size 1024M;
client_max_body_size 2500M;
include /etc/nginx/mime.types;
default_type application/octet-stream;

View File

@@ -29,7 +29,7 @@ http {
tcp_nodelay on;
keepalive_timeout 65;
types_hash_max_size 2048;
client_max_body_size 1024M;
client_max_body_size 2500M;
include /etc/nginx/mime.types;
default_type application/octet-stream;

View File

@@ -29,7 +29,7 @@ http {
tcp_nodelay on;
keepalive_timeout 65;
types_hash_max_size 2048;
client_max_body_size 1024M;
client_max_body_size 2500M;
include /etc/nginx/mime.types;
default_type application/octet-stream;

View File

@@ -29,7 +29,7 @@ http {
tcp_nodelay on;
keepalive_timeout 65;
types_hash_max_size 2048;
client_max_body_size 1024M;
client_max_body_size 2500M;
include /etc/nginx/mime.types;
default_type application/octet-stream;

View File

@@ -29,7 +29,7 @@ http {
tcp_nodelay on;
keepalive_timeout 65;
types_hash_max_size 2048;
client_max_body_size 1024M;
client_max_body_size 2500M;
include /etc/nginx/mime.types;
default_type application/octet-stream;

View File

@@ -3,7 +3,7 @@
{%- set CHECKININTERVALMS = salt['pillar.get']('pcap:sensor_checkin_interval_ms', 10000) -%}
{
"logFilename": "/opt/sensoroni/logs/sensoroni.log",
"logLevel":"debug",
"logLevel":"info",
"agent": {
"pollIntervalMs": {{ CHECKININTERVALMS if CHECKININTERVALMS else 10000 }},
"serverUrl": "https://{{ MANAGER }}/sensoroniagents",