Skip to content

Commit

Permalink
docs: update proxy upstream example
Browse files Browse the repository at this point in the history
  • Loading branch information
vicanso committed Jan 5, 2025
1 parent 185f859 commit ab07a99
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions examples/proxy-upstream.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,9 @@ cache_directory = "~/tmp/cache"
log_level = "INFO"

[locations.charts]
enable_reverse_proxy_headers = true
path = "/"
plugins = ["pingap:acceptEncodingAdjustment", "chartsCache"]
proxy_set_headers = [
"X-Forwarded-For:$proxy_add_x_forwarded_for",
"X-Real-IP:$remote_addr",
]
upstream = "charts"

[plugins.chartsCache]
Expand Down

0 comments on commit ab07a99

Please sign in to comment.