Server specific configuration settings.
No Additional PropertiesDefault maximum buffer-size when reading messages into memory.
Request handling directives associated with server instance.
No Additional ItemsGroup of request modules bound to a specific uri path prefix.
No Additional PropertiesList of additional web components bound to directive.
Items are constructed in the order they're given
meaning middlewares only wrap elements defined before them.
Module or Middleware Component
Middleware configuration for request processing.
Configuration for [actix_authn::basic::BasicAuthSession
] Middleware.
Cache size linked to authentication lookup
Htpasswd filepaths to load credentials from.
No Additional Items"AuthBasic"
Configuration for [actix_authn::basic::BasicAuthSession
] Middleware.
Cache size linked to authentication lookup
Default is u16::MAX
Htpasswd filepaths to load credentials from.
No Additional Items"AuthSession"
Configuration for [actix_ipware
] Middleware.
Allow untrusted client IP assignments.
Default is false
"Ipware"
Number of expected proxy jumps to be trusted.
Allow fake/broken ips in trusted headers if false.
Default is true
Trusted headers to parse client IP address from.
No Additional ItemsList of trusted upstream proxy globs.
No Additional ItemsConfiguration for [actix_ip_filter
] Middleware.
Always denied blacklist of IP Globs.
No Additional ItemsPaths globs to specifically exclude from protection.
No Additional Items"Ipfilter"
Path globs to specifically include for protection.
No Additional ItemsAlways allowed whitelist of IP Globs.
No Additional ItemsConfiguration for [actix_modsecurity
] Middleware.
Max request body size allowed to be read into memory for scanning.
Max response body size allowed to be read into memory for scanning.
"ModSecurity"
List of additional files to load rules from.
No Additional ItemsPlaintext rules contained within a single string.
See [actix_modsecurity::ModSecurity::add_rules
] for more info.
Configuration for [actix_rewrite
] Middleware.
Max number of iterations allowed for looping rulesets.
Default is 10.
"Rewrite"
List of additional files to load rules from.
No Additional ItemsPlaintext rules contained within a single string.
See [actix_rewrite::Engine::add_rules
] for more info.
Configuration for [actix_extensible_rate_limit
] Middleware
Allow request by default if backend fails to respond in time
Default is false
Request limit
Value must be greater or equal to 0
"Ratelimit"
Ratelimit control period
Default is 1s
Include ratelimit explanation headers if enabled
Default is false
Discriminate ratelimit by IP and Path if enabled
Default is false
Configuration for [actix_timeout
] Middleware
Timeout duration in miliseconds
Value must be greater or equal to 0
"Timeout"
Server specific configuration modules for request processing.
Configuration for buitltin redirect service.
"Redirect"
Redirect URI
Redirect status code
Default is 302
Configuration for builtin static response service.
Static body content
Content type override
Default is text/html
Headers to append to response
Each additional property must conform to the following schema
Type: string"Static"
Content status code
Default is 200
Configuration for [actix_files
] service.
Size Threshold for Asyncly Processing Files
Default is u16::MAX (65_365)
Allow director indexing to browse files.
Default is false
"FileServer"
Root filepath for serving files
Overrides [crate::config::ServerConfig::root
]
Configuration for [actix_revproxy
] service.
Change host to upstream address host.
Default is false
Downstream headers to send to client.
Each additional property must conform to the following schema
Type: stringInitial Connection Window Size
Default is u16::MAX
Initial Window Size
Default is u16::MAX
Max number of redirects allowed in client lookup.
Default is 0.
"ReverseProxy"
Proxy resolution URL.
Request timeout in seconds.
Default is 5s
Upstream headers to send to server.
Each additional property must conform to the following schema
Type: stringVerify SSL Configuration
Default is true
Configuration for [actix_fastcgi
] service.
FastCGI socket connection URI.
"FastCGI"
Document-Root assigned to FastCGI.
Overrides [crate::config::ServerConfig::root
].
Override of [actix_chain::Link::next
] behavior.
Value must be greater or equal to 0
and lesser or equal to 65535
Location associated with modules
Default is /
Disable configuration from initialization within server.
List of supported index file patterns when requesting resources.
Default is [index.html, ]
No Additional ItemsList of configurations for binding server addresses.
No Additional ItemsServer listener bindings configuration.
No Additional PropertiesHost address server will bind to.
Port server will bind to.
Value must be greater or equal to 0
and lesser or equal to 65535
SSL configuration for listener.
TLS Configuration for server listener.
No Additional PropertiesTLS Certificate public key.
TLS Certificate private key.
Configuration settings for logging.
No Additional PropertiesDisable logging if set to true
Logging level attached to log.
Default is INFO
Use IpWare Middleware RealIP if enabled.
Default is true
Configuration settings for middlware within server instance.
No Additional ItemsDefault root filepath for various request handling modules.
Sanitizes error-messages produced by configured modules when enabled.
Default is true
List of domain-names matchers with the server.
Once registered, the server will only respond to
requests with Host
set to the relevant matchers.