service: apply rest-max-body-size and rest-max-headers-size
Those two options are applied in `infra-role-beacon-node-linux`; do the same for Windows. Signed-off-by: Etan Kissling <etan@status.im> Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
e3d9f50136
commit
6bb0d08b6f
|
@ -70,6 +70,8 @@ beacon_node_metrics_port: 9200
|
||||||
beacon_node_rest_enabled: true
|
beacon_node_rest_enabled: true
|
||||||
beacon_node_rest_address: '127.0.0.1'
|
beacon_node_rest_address: '127.0.0.1'
|
||||||
beacon_node_rest_port: 5052
|
beacon_node_rest_port: 5052
|
||||||
|
beacon_node_rest_max_body_size: 16384
|
||||||
|
beacon_node_rest_max_headers_size: 128
|
||||||
|
|
||||||
# Light client data
|
# Light client data
|
||||||
beacon_node_light_client_data_enabled: false
|
beacon_node_light_client_data_enabled: false
|
||||||
|
|
|
@ -49,6 +49,8 @@
|
||||||
{% if beacon_node_rest_enabled %}
|
{% if beacon_node_rest_enabled %}
|
||||||
--rest-address={{ beacon_node_rest_address }}
|
--rest-address={{ beacon_node_rest_address }}
|
||||||
--rest-port={{ beacon_node_rest_port }}
|
--rest-port={{ beacon_node_rest_port }}
|
||||||
|
--rest-max-body-size={{ beacon_node_rest_max_body_size | mandatory }}
|
||||||
|
--rest-max-headers-size={{ beacon_node_rest_max_headers_size | mandatory }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
--metrics={{ beacon_node_metrics_enabled | to_json }}
|
--metrics={{ beacon_node_metrics_enabled | to_json }}
|
||||||
{% if beacon_node_metrics_enabled %}
|
{% if beacon_node_metrics_enabled %}
|
||||||
|
|
Loading…
Reference in New Issue