Skip to content

Commit

Permalink
tunnel fix
Browse files Browse the repository at this point in the history
  • Loading branch information
traceypooh committed Dec 30, 2024
1 parent 735d2d7 commit 6ea2416
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions Caddyfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,14 @@
admin off
}

# We answer all requests with the contents of this file:
# https://internetarchive.github.io/nomad/ci.yml

:5000 {
rewrite * /nomad/ci.yml
reverse_proxy https://internetarchive.github.io
# We answer all requests with the contents of this file:
# https://internetarchive.github.io/nomad/ci.yml
rewrite * /nomad/ci.yml

reverse_proxy {
to https://internetarchive.github.io
# like CLI `--change-host-header`:
header_up Host {upstream_hostport}
}
}

0 comments on commit 6ea2416

Please sign in to comment.