fix: fix host forwrading
This commit is contained in:
@@ -19,7 +19,7 @@ data:
|
||||
sslKeyFile: ''#key.pem
|
||||
# Proxy rate limit, it's In-Memory IP based
|
||||
rateLimit: 0
|
||||
logLevel: info # debug, trace
|
||||
logLevel: info # debug, trace, off
|
||||
accessLog: "/dev/Stdout"
|
||||
errorLog: "/dev/stderr"
|
||||
## Enable, disable routes health check
|
||||
@@ -61,10 +61,8 @@ data:
|
||||
destination: https://example.com
|
||||
# Limit HTTP methods allowed for this route
|
||||
methods: [POST, PUT, GET]
|
||||
#DisableHeaderXForward Disable X-forwarded header.
|
||||
# [X-Forwarded-Host, X-Forwarded-For, Host, Scheme ]
|
||||
# It will not match the backend route, by default, it's disabled
|
||||
disableHeaderXForward: false
|
||||
#disableHostFording proxy host forwarding
|
||||
disableHostFording: false
|
||||
# Route Cors, global cors will be overridden by route
|
||||
cors:
|
||||
# Route Origins Cors, route will override global cors origins
|
||||
|
||||
@@ -55,10 +55,8 @@ gateway:
|
||||
destination: https://example.com
|
||||
# Limit HTTP methods allowed for this route
|
||||
methods: [POST, PUT, GET]
|
||||
#DisableHeaderXForward Disable X-forwarded header.
|
||||
# [X-Forwarded-Host, X-Forwarded-For, Host, Scheme ]
|
||||
# It will not match the backend route, by default, it's disabled
|
||||
disableHeaderXForward: false
|
||||
#disableHostFording proxy host forwarding
|
||||
disableHostFording: false
|
||||
# Route Cors, global cors will be overridden by route
|
||||
cors:
|
||||
# Route Origins Cors, route will override global cors origins
|
||||
|
||||
Reference in New Issue
Block a user