Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
2164fc3a
Commit
2164fc3a
authored
Jul 05, 2021
by
Ben Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Increase client_body_buffer_size for rpc-proxy
Added client_max_body_size to rpc-proxy config
parent
1f1fff99
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
nginx.template.conf
ops/docker/rpc-proxy/nginx.template.conf
+10
-1
No files found.
ops/docker/rpc-proxy/nginx.template.conf
View file @
2164fc3a
...
...
@@ -11,6 +11,15 @@ events {
http
{
include
mime
.
types
;
index
index
.
html
;
# The JSONRPC POST body must fit inside this allocation for the method parsing to succeed.
# https://github.com/openresty/lua-nginx-module#ngxreqread_body
# http://nginx.org/en/docs/http/ngx_http_core_module.html#client_body_buffer_size
client_body_buffer_size
128
k
;
# client_max_body_size should match client_body_buffer_size
# Values that exceed client_body_buffer_size will be written to a temporary file, which we don't want
# Requests above this limit will also be denied with an HTTP 413 response (entity too large)
# http://nginx.org/en/docs/http/ngx_http_core_module.html#client_max_body_size
client_max_body_size
128
k
;
# See Move default writable paths to a dedicated directory (#119)
# https://github.com/openresty/docker-openresty/issues/119
...
...
@@ -38,7 +47,7 @@ http {
metric_sequencer_requests
=
prometheus
:
counter
(
"nginx_eth_sequencer_requests"
,
"Number of requests going to the sequencer"
, {
"method"
,
"host"
,
"status"
})
metric_replica_requests
=
prometheus
:
counter
(
"nginx_eth_replica_requests"
,
"Number of requests going to the replicas"
, {
"host"
,
"status"
})
"nginx_eth_replica_requests"
,
"Number of requests going to the replicas"
, {
"host"
,
"status"
})
metric_latency
=
prometheus
:
histogram
(
"nginx_http_request_duration_seconds"
,
"HTTP request latency"
, {
"host"
})
metric_connections
=
prometheus
:
gauge
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment