mirror of
https://github.com/ziirish/burp-ui.git
synced 2026-05-15 06:05:58 -06:00
fix: update default proxy_fix rules to handle proto as well
This commit is contained in:
parent
48c52591fe
commit
5f1cb8e750
3 changed files with 5 additions and 5 deletions
|
|
@ -66,7 +66,7 @@ BUI_DEFAULTS = {
|
|||
'limiter': False,
|
||||
'ratio': '60/minute',
|
||||
'num_proxies': 0,
|
||||
'proxy_fix_args': "{'x_for': {num_proxies}, 'x_host': {num_proxies}, 'x_prefix': {num_proxies}}",
|
||||
'proxy_fix_args': "{'x_proto': {num_proxies}, 'x_for': {num_proxies}, 'x_host': {num_proxies}, 'x_prefix': {num_proxies}}",
|
||||
},
|
||||
'WebSocket': {
|
||||
'enabled': True,
|
||||
|
|
|
|||
|
|
@ -165,9 +165,9 @@ follow:
|
|||
# https://werkzeug.palletsprojects.com/en/0.15.x/middleware/proxy_fix/#module-werkzeug.middleware.proxy_fix
|
||||
num_proxies = 0
|
||||
# alternatively, you can specify your own ProxyFix args.
|
||||
# The default is: "{'x_for': {num_proxies}, 'x_host': {num_proxies}, 'x_prefix': {num_proxies}}"
|
||||
# The default is: "{'x_proto': {num_proxies}, 'x_for': {num_proxies}, 'x_host': {num_proxies}, 'x_prefix': {num_proxies}}"
|
||||
# if num_proxies > 0, else it defaults to ProxyFix defaults
|
||||
proxy_fix_args = "{'x_for': {num_proxies}, 'x_host': {num_proxies}, 'x_prefix': {num_proxies}}"
|
||||
proxy_fix_args = "{'x_proto': {num_proxies}, 'x_for': {num_proxies}, 'x_host': {num_proxies}, 'x_prefix': {num_proxies}}"
|
||||
|
||||
|
||||
- *storage*: What storage engine should be used for sessions, cache, etc. Can
|
||||
|
|
|
|||
|
|
@ -94,9 +94,9 @@ prefix = none
|
|||
# https://werkzeug.palletsprojects.com/en/0.15.x/middleware/proxy_fix/#module-werkzeug.middleware.proxy_fix
|
||||
num_proxies = 0
|
||||
# alternatively, you can specify your own ProxyFix args.
|
||||
# The default is: "{'x_for': {num_proxies}, 'x_host': {num_proxies}, 'x_prefix': {num_proxies}}"
|
||||
# The default is: "{'x_proto': {num_proxies}, 'x_for': {num_proxies}, 'x_host': {num_proxies}, 'x_prefix': {num_proxies}}"
|
||||
# if num_proxies > 0, else it defaults to ProxyFix defaults
|
||||
proxy_fix_args = "{'x_for': {num_proxies}, 'x_host': {num_proxies}, 'x_prefix': {num_proxies}}"
|
||||
proxy_fix_args = "{'x_proto': {num_proxies}, 'x_for': {num_proxies}, 'x_host': {num_proxies}, 'x_prefix': {num_proxies}}"
|
||||
|
||||
[WebSocket]
|
||||
## This section contains WebSocket server specific options.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue