Pass headers from the custom error backend

This commit is contained in:
Manuel de Brito Fontes 2017-09-08 20:18:11 -03:00
parent 7b4d8cb1c3
commit 13f47ad56b
5 changed files with 11 additions and 263 deletions

View file

@ -455,7 +455,6 @@ func (cfg Configuration) BuildLogFormatUpstream() string {
// TemplateConfig contains the nginx configuration to render the file nginx.conf
type TemplateConfig struct {
DefaultBackendEndpoints string
ProxySetHeaders map[string]string
AddHeaders map[string]string
MaxOpenFiles int