finish renaming remoteHosts to allowHosts

This commit is contained in:
Will Norris 2019-03-22 00:13:49 +00:00
parent 6cb27fcbbc
commit 127a621c8a
4 changed files with 6 additions and 6 deletions

View file

@ -29,7 +29,7 @@ case "$1" in
test -n "$ADDR" && DAEMON_OPTS+=" -addr=$ADDR"
test -n "$CACHE" && DAEMON_OPTS+=" -cache=$CACHE"
test -n "$LOG_DIR" && DAEMON_OPTS+=" -log_dir=$LOG_DIR"
test -n "$ALLOWED_REMOTE_HOSTS" && DAEMON_OPTS+=" -remoteHosts=$ALLOWED_REMOTE_HOSTS"
test -n "$ALLOWED_REMOTE_HOSTS" && DAEMON_OPTS+=" -allowHosts=$ALLOWED_REMOTE_HOSTS"
echo -n "Starting $NAME: "
start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid \

View file

@ -11,4 +11,4 @@ exec start-stop-daemon --start -c www-data --exec /usr/bin/imageproxy -- \
-cache /var/cache/imageproxy \
-signatureKey @/etc/imageproxy.key \
-baseURL https://willnorris.com/ \
-remoteHosts willnorris.com,notsoserendipitous.com,gabenorris.com
-allowHosts willnorris.com,notsoserendipitous.com,gabenorris.com

View file

@ -9,7 +9,7 @@ ExecStart=/usr/local/bin/imageproxy \
-cache /var/cache/imageproxy \
-signatureKey @/etc/imageproxy.key \
-baseURL https://willnorris.com/ \
-remoteHosts willnorris.com,notsoserendipitous.com,gabenorris.com
-allowHosts willnorris.com,notsoserendipitous.com,gabenorris.com
Restart=on-abort
[Install]