bool
SO_REUSEPORT
socket option. This will spawn multiple Go processes listening on the same port. learn more about socket sharding. NOTE: if enabled, the application will need to be ran through a shell because prefork mode sets environment variables. If you're using Docker, make sure the app is ran with CMD ./app
or CMD ["sh", "-c", "/app"]
. For more info, see this issue comment.false
string
Server
HTTP header with the given value.""
bool
/foo
and /foo/
as different. Otherwise, the router treats /foo
and /foo/
as the same.false
bool
/Foo
and /foo
are different routes. When disabled, /Foo
and /foo
are treated the same.false
bool
false
bool
false
bool
false
int
413 - Request Entity Too Large
response.4 * 1024 * 1024
int
256 * 1024
Views
nil
string
""
bool
false
time.Duration
nil
time.Duration
nil
time.Duration
nil
int
4096
int
4096
string
".fiber.gz"
string
c.IP()
to return the value of the given header key. By default c.IP()
will return the Remote IP from the TCP connection, this property can be useful if you are behind a load balancer e.g. X-Forwarded-*.""
bool
false