Skip to content

Commit

Permalink
Update entrypoint.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
thebalaa authored Jun 11, 2024
1 parent de30933 commit e3efd35
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/client-link/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,12 @@ ip link set link0 up
ip link set link0 mtu $LINK_MTU

wg set link0 peer $GATEWAY_LINK_WG_PUBKEY allowed-ips 10.0.0.1/32 persistent-keepalive 30 endpoint $GATEWAY_ENDPOINT

export EXPOSE=$(cat <<-END
$EXPOSE {
header_up X-Forwarded-Proto {scheme}
}
END
)
if [ -z ${FORWARD_ONLY+x} ]; then

echo "Using caddy with SSL termination to forward traffic to app."
Expand Down

0 comments on commit e3efd35

Please sign in to comment.