Skip to content

Commit

Permalink
http proxy tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
traceypooh committed Jan 14, 2025
1 parent 31f000f commit baa8018
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions bin/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,9 @@ podman system service -t 0 & # xxx prolly add into supervisord for autorestart
# test
# sudo curl -v -s --unix-socket /run/podman/podman.sock http://d/v1.0.0/libpod/info


# 'caddy' and 'consul' need to talk to backend 'reverse_proxy' [IP]:[PORT] URLs directly and not
# over any http proxy
unset HTTPS_PROXY HTTP_PROXY https_proxy http_proxy

exec /usr/bin/supervisord -n -c /etc/supervisor/supervisord.conf
6 changes: 3 additions & 3 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ if [ $HOST_UNAME = Darwin ]; then
else
PV=/pv
# Use host characteristics
# Avoid HTTP(S)_PROXY vars automatically "leaking" in to built or run container image
ARGS_MISC="--net=host --cgroupns=host --http-proxy=false"
ARGS_INIT="$ARGS_MISC"
ARGS_MISC="--net=host --cgroupns=host"
# Avoid HTTP(S)_PROXY vars automatically "leaking" in to the built container image
ARGS_INIT="$ARGS_MISC --http-proxy=false"
ARGS_RUN="$ARGS_MISC $ARGS_RUN"
fi

Expand Down

0 comments on commit baa8018

Please sign in to comment.