mirror of
https://github.com/willnorris/imageproxy.git
synced 2026-06-03 00:05:13 +02:00
deprecate cacheSize flag and remove docs
this flag was never actually doing what I thought it was in the first place. Also fix up a few instances of cacheDir still be used in config files fixes #45
This commit is contained in:
parent
355a00f7b6
commit
810ecedd69
4 changed files with 11 additions and 12 deletions
|
|
@ -27,8 +27,7 @@ case "$1" in
|
|||
. /etc/default/imageproxy
|
||||
|
||||
test -n "$ADDR" && DAEMON_OPTS+=" -addr=$ADDR"
|
||||
test -n "$CACHE_DIR" && DAEMON_OPTS+=" -cacheDir=$CACHE_DIR"
|
||||
test -n "$CACHE_SIZE" && DAEMON_OPTS+=" -cacheSize=$CACHE_SIZE"
|
||||
test -n "$CACHE" && DAEMON_OPTS+=" -cache=$CACHE"
|
||||
test -n "$LOG_DIR" && DAEMON_OPTS+=" -log_dir=$LOG_DIR"
|
||||
test -n "$ALLOWED_REMOTE_HOSTS" && DAEMON_OPTS+=" -whitelist=$ALLOWED_REMOTE_HOSTS"
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ respawn
|
|||
exec start-stop-daemon --start -c www-data --exec /usr/bin/imageproxy -- \
|
||||
-addr localhost:4593 \
|
||||
-log_dir /var/log/imageproxy \
|
||||
-cacheDir /var/cache/imageproxy \
|
||||
-cache /var/cache/imageproxy \
|
||||
-signatureKey @/etc/imageproxy.key \
|
||||
-baseURL https://willnorris.com/ \
|
||||
-whitelist willnorris.com,notsoserendipitous.com,gabenorris.com
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue