Skip to content

Commit

Permalink
feat: set use-forwarded-header to true as default config (#189)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shi Wang committed Jul 29, 2020
1 parent e118372 commit 9e9901c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/proxy/nginx/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ var (
"proxy-body-size": "5G",
"server-tokens": "false",
"skip-access-log-urls": "/nginx_status/format/json",
"use-forwarded-headers": "true",
}

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

0 comments on commit 9e9901c

Please sign in to comment.