Skip to content

Latest commit

 

History

History
54 lines (42 loc) · 745 Bytes

MIGRATION.md

File metadata and controls

54 lines (42 loc) · 745 Bytes

Migration guide

v0.4 to v0.5

  • Multiple values for single CLI argument now need to be delimited by comma

Before: --port 2081 2082 2083

After: --port 2081,2082,2083

  • listen ports = on proxy list INI file is not longer supported. User should migrate them to proxy selection policy.

Before:

# Proxy list
[server-1]
listen ports=2081
# ...
[server-2]
listen ports=2082
# ...

After:

# Proxy list
[server-1]
capabilities = cap1
# ...
[server-2]
capabilities = cap2
# ...
# Ruleset
listen port 2081 require cap1
listen port 2082 require cap2

v0.3 to v0.4

-h (listen host) has been renamed to -b

Before:

moproxy -h ::1 -p 2080 ...

After:

moproxy -b ::1 -p 2080 ...