Implement HTTP-only mode
This is very useful for reserve proxies in cases when TLS passthrough is not desired.
This commit is contained in:
@ -18,6 +18,7 @@ type ServerConfig struct {
|
||||
PagesBranches []string
|
||||
AllowedCorsDomains []string
|
||||
BlacklistedPaths []string
|
||||
HttpOnlyMode bool `default:"false"`
|
||||
}
|
||||
|
||||
type GiteaConfig struct {
|
||||
|
Reference in New Issue
Block a user