Add annotation to enable rewrite logs in a location

This commit is contained in:
JordanP 2018-04-27 14:28:57 +02:00
parent 1086ec6c7e
commit c995031ffd
7 changed files with 157 additions and 18 deletions

View file

@ -264,7 +264,7 @@ type Location struct {
// +optional
XForwardedPrefix bool `json:"xForwardedPrefix,omitempty"`
// Logs allows to enable or disable the nginx logs
// By default this is enabled
// By default access logs are enabled and rewrite logs are disabled
Logs log.Config `json:"logs,omitempty"`
// GRPC indicates if the kubernetes service exposes a gRPC interface
// By default this is false