Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var EnforceIPRateLimits = Feature{
EnvVariable: "FF_ENFORCE_IP_RATE_LIMITS",
}
EnforceIPRateLimits enforces ratelimiter package to drop requests TODO: remove https://gitlab.com/gitlab-org/gitlab-pages/-/issues/629
View Source
var HandleCacheHeaders = Feature{
EnvVariable: "FF_HANDLE_CACHE_HEADERS",
}
HandleCacheHeaders enables handling cache headers when serving from compressed ZIP archives TODO: enable and remove https://gitlab.com/gitlab-org/gitlab-pages/-/issues/672
View Source
var RedirectsPlaceholders = Feature{
EnvVariable: "FF_ENABLE_PLACEHOLDERS",
}
RedirectsPlaceholders enables support for placeholders in redirects file TODO: remove https://gitlab.com/gitlab-org/gitlab-pages/-/issues/620
Functions ¶
This section is empty.
Types ¶
type Feature ¶
type Feature struct { EnvVariable string // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.