Skip to content

Commit

Permalink
applying auto-documentation format
Browse files Browse the repository at this point in the history
  • Loading branch information
nmaillat authored Dec 12, 2024
1 parent 7371afb commit 31e87c3
Showing 1 changed file with 25 additions and 6 deletions.
31 changes: 25 additions & 6 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -231,14 +231,33 @@ GATEWAY_USERS=
# defined to get real_ip
# READ is for GET and HEAD requests
# WRITE is for POST, PUT, DELETE and PATCH requests
# Enabling the requests Limit
# @run
HTTP_REQUEST_LIMITS=false
HTTP_READ_REQUEST_LIMIT_MEMORY=10 # (m) For Exemple 16,000 IP addresses takes 1 megabyte, so our zone can store about 160,000 addresses.
HTTP_READ_REQUEST_LIMIT_RATE=100 # (r/s) Sets the maximum request rate. By default here the rate cannot exceed 10 requests per second
HTTP_READ_REQUEST_LIMIT_BURST=20 # The burst parameter defines how many requests a client can make in excess of the rate specified
HTTP_WRITE_REQUEST_LIMIT_MEMORY=10 # (m) For Exemple 16,000 IP addresses takes 1 megabyte, so our zone can store about 160,000 addresses.
HTTP_WRITE_REQUEST_LIMIT_RATE=100 # (r/s) Sets the maximum request rate. By default here the rate cannot exceed 10 requests per second
HTTP_WRITE_REQUEST_LIMIT_BURST=20 # The burst parameter defines how many requests a client can make in excess of the rate specified

# (m) For Exemple 16,000 IP addresses takes 1 megabyte, so our zone can store about 160,000 addresses.
# @run
HTTP_READ_REQUEST_LIMIT_MEMORY=10

# (r/s) Sets the maximum request rate. By default here the rate cannot exceed 10 requests per second
# @run
HTTP_READ_REQUEST_LIMIT_RATE=100

# The burst parameter defines how many requests a client can make in excess of the rate specified
# @run
HTTP_READ_REQUEST_LIMIT_BURST=20

# (m) For Exemple 16,000 IP addresses takes 1 megabyte, so our zone can store about 160,000 addresses.
# @run
HTTP_WRITE_REQUEST_LIMIT_MEMORY=10

# (r/s) Sets the maximum request rate. By default here the rate cannot exceed 10 requests per second
# @run
HTTP_WRITE_REQUEST_LIMIT_RATE=100

# The burst parameter defines how many requests a client can make in excess of the rate specified
# @run
HTTP_WRITE_REQUEST_LIMIT_BURST=20

# https and reverse proxy (on/off)
# set to on in the case : https behind a proxy
Expand Down

0 comments on commit 31e87c3

Please sign in to comment.