Changeset 138 in code for trunk/README.md
- Timestamp:
- Apr 4, 2021, 3:55:25 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/README.md
r131 r138 31 31 ``` 32 32 33 ### Usage 34 35 ``` 36 -debug 37 Debug mode (default true) 38 -followredirect 39 Follow HTTP GET redirect 40 -ipv6 41 Allow IPv6 HTTP requests (default true) 42 -key string 43 HMAC url validation key (base64 encoded) - leave blank to disable validation 44 -listen string 45 Listen address (default "127.0.0.1:3000") 46 -proxy string 47 Use the specified HTTP proxy (ie: '[user:pass@]hostname:port'). Overrides -socks5, -ipv6. 48 -proxyenv 49 Use a HTTP proxy as set in the environment (HTTP_PROXY, HTTPS_PROXY and NO_PROXY). Overrides -proxy, -socks5, -ipv6. 50 -socks5 string 51 Use a SOCKS5 proxy (ie: 'hostname:port'). Overrides -ipv6. 52 -timeout uint 53 Request timeout (default 5) 54 -version 55 Show version 56 ``` 57 33 58 ### Environment variables 34 59 35 Morty can be configured using the following environment variables:60 Morty can additionally be configured using the following environment variables: 36 61 - `MORTY_ADDRESS`: Listen address (default to `127.0.0.1:3000`) 37 62 - `MORTY_KEY`: HMAC url validation key (base64 encoded) to prevent direct URL opening. Leave blank to disable validation. Use `openssl rand -base64 33` to generate. … … 41 66 42 67 ``` 43 docker run -e DEBUG=false -e MORTY_ADDRESS=0.0.0.0:3000 -v ./rules.json:/etc/filtron/rules.json:rwdalf/morty68 docker run -e DEBUG=false -e MORTY_ADDRESS=0.0.0.0:3000 dalf/morty 44 69 ``` 45 70 46 71 ``` 47 docker run -e DEBUG=false -v ./rules.json:/etc/filtron/rules.json:rwdalf/morty -listen 0.0.0.0:300072 docker run -e DEBUG=false dalf/morty -listen 0.0.0.0:3000 48 73 ``` 49 74
Note:
See TracChangeset
for help on using the changeset viewer.