diff --git a/README.adoc b/README.adoc index 0a4f323..42d35ad 100644 --- a/README.adoc +++ b/README.adoc @@ -271,8 +271,6 @@ More generally, it is recommended to either: === Environment Vars * `GOCAMO_HMAC` - HMAC key to use. -* `GOCAMO_MAXSIZE` - Max allowed response size (KB) -* `GOCAMO_MAXSIZEREDIRECT` - URL to redirect to when max-size is exceeded. * `HTTPS_PROXY` - Configure an outbound proxy for HTTPS requests. + Either a complete URL or a `host[:port]`, in which case an HTTP scheme is assumed. See <> notes for more information. @@ -287,6 +285,8 @@ More generally, it is recommended to either: $ go-camo -h Usage: go-camo +An image proxy that proxies non-secure images over SSL/TLS + Flags: -h, --help Show context-sensitive help. -k, --key=STRING HMAC key @@ -323,6 +323,7 @@ Flags: -v, --verbose Show verbose (debug) log level output -V, --version Print version and exit; specify twice to show license information. +---- A few notes about specific flags: diff --git a/cmd/go-camo/main.go b/cmd/go-camo/main.go index ee4c06a..1ad5858 100644 --- a/cmd/go-camo/main.go +++ b/cmd/go-camo/main.go @@ -15,7 +15,6 @@ import ( "os" "os/signal" "runtime" - "strconv" "strings" "syscall" "time"