Skip to content

Commit

Permalink
Rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
justin-russell committed Jun 20, 2024
1 parent de2c340 commit d9bdfd3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Run CI tests for subdomain.domain.tld
- name: Run CI tests for subdomain.domain.tld
run: make link-ci GATEWAY=gateway-sshd FQDN=subdomain.domain.com

- name: Run CI tests for app.subdomain.domain.tld
Expand Down
4 changes: 2 additions & 2 deletions src/client-link/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ 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


if [ "$FORWARD_ONLY" == "false" ]; then
if [ -z ${FORWARD_ONLY+x} ]; then

echo "Using caddy with SSL termination to forward traffic to app."
if [ ! -z ${CADDY_TLS_PROXY+x} ]; then # if CADDY_TLS_PROXY is set
Expand Down Expand Up @@ -95,7 +95,7 @@ else
# In the future, specifying a protocol in the docker compose snippet may be necessary
# -- 2024-04-07 zacharylott94@gmail.com
socat TCP4-LISTEN:$CENTER_PORT,fork,reuseaddr TCP4:$EXPOSE,reuseaddr&
socat UDP4-LISTEN:$CENTER_PORT,fork,reuseaddr UDP4:$EXPOSE,reuseaddr
socat UDP4-LISTEN:$CENTER_PORT,fork,reuseaddr UDP4:$EXPOSE,reuseaddr
else
echo "Caddy is disabled. Using socat to forward traffic to app."
socat TCP4-LISTEN:8080,fork,reuseaddr TCP4:$EXPOSE,reuseaddr &
Expand Down

0 comments on commit d9bdfd3

Please sign in to comment.