Skip to content

Commit 9e9901c

Browse files
author
Shi Wang
authored
feat: set use-forwarded-header to true as default config (#189)
1 parent e118372 commit 9e9901c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pkg/proxy/nginx/config.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ var (
3838
"proxy-body-size": "5G",
3939
"server-tokens": "false",
4040
"skip-access-log-urls": "/nginx_status/format/json",
41+
"use-forwarded-headers": "true",
4142
}
4243

4344
// managedConfig is fully controlled by CPS. we should delete these from configmap if they are not specified.

0 commit comments

Comments
 (0)