diff options
Diffstat (limited to 'plugins/http/config.go')
-rw-r--r-- | plugins/http/config.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/http/config.go b/plugins/http/config.go index 3b670c86..abde8917 100644 --- a/plugins/http/config.go +++ b/plugins/http/config.go @@ -49,10 +49,10 @@ type Config struct { HTTP2 *HTTP2Config // MaxRequestSize specified max size for payload body in megabytes, set 0 to unlimited. - MaxRequestSize uint64 + MaxRequestSize uint64 `yaml:"max_request_size"` // TrustedSubnets declare IP subnets which are allowed to set ip using X-Real-Ip and X-Forwarded-For - TrustedSubnets []string + TrustedSubnets []string `yaml:"trusted_subnets"` // Uploads configures uploads configuration. Uploads *UploadsConfig @@ -85,7 +85,7 @@ type HTTP2Config struct { H2C bool // MaxConcurrentStreams defaults to 128. - MaxConcurrentStreams uint32 + MaxConcurrentStreams uint32 `yaml:"max_concurrent_streams"` } // InitDefaults sets default values for HTTP/2 configuration. |