mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
a4cf2e675f
* it doesn't work with our current CSP * it's probably not used by anyone * it isn't in harmony with our security purposes * literally removes all use of it * suggestions from code review * remove useless test. Co-authored-by: Amir Zarrinkafsh <nightah@me.com> Co-authored-by: Clement Michaud <clement.michaud34@gmail.com>
30 lines
897 B
Markdown
30 lines
897 B
Markdown
---
|
|
layout: default
|
|
title: Server
|
|
parent: Configuration
|
|
nav_order: 7
|
|
---
|
|
|
|
# Server
|
|
|
|
The server section configures and tunes the http server module Authelia uses.
|
|
|
|
## Configuration
|
|
|
|
```yaml
|
|
# Configuration options specific to the internal http server
|
|
server:
|
|
# Buffers usually should be configured to be the same value.
|
|
# Explanation at https://docs.authelia.com/configuration/server.html
|
|
# Read buffer size configures the http server's maximum incoming request size in bytes.
|
|
read_buffer_size: 4096
|
|
# Write buffer size configures the http server's maximum outgoing response size in bytes.
|
|
write_buffer_size: 4096
|
|
```
|
|
|
|
### Buffer Sizes
|
|
|
|
The read and write buffer sizes generally should be the same. This is because when Authelia verifies
|
|
if the user is authorized to visit a URL, it also sends back nearly the same size response
|
|
(write_buffer_size) as the request (read_buffer_size).
|