Skip to content

Commit

Permalink
chore: update caddyfile filedev and postman
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfreska committed Jan 17, 2024
1 parent 891abb0 commit f87af37
Showing 1 changed file with 20 additions and 5 deletions.
25 changes: 20 additions & 5 deletions server/Caddyfile
Original file line number Diff line number Diff line change
Expand Up @@ -72,25 +72,40 @@ beta.sia.tech {
reverse_proxy localhost:3009
}

file.dev {
import cloudflare
redir https://sia.tech 302
}

api.sia.tech {
route {
handle /renterd {
rewrite * /view/23671177/2s93RUsqo6
reverse_proxy https://documenter.getpostman.com
reverse_proxy https://documenter.getpostman.com {
header_up Host documenter.getpostman.com
}
}
handle /hostd {
rewrite * /view/737767/2s93Xu2koJ
reverse_proxy https://documenter.getpostman.com
reverse_proxy https://documenter.getpostman.com {
header_up Host documenter.getpostman.com
}
}
handle /walletd {
rewrite * /view/737767/2s9XxtzGU4
reverse_proxy https://documenter.getpostman.com
reverse_proxy https://documenter.getpostman.com {
header_up Host documenter.getpostman.com
}
}
handle /view* {
reverse_proxy https://documenter.getpostman.com
reverse_proxy https://documenter.getpostman.com {
header_up Host documenter.getpostman.com
}
}
handle /api* {
reverse_proxy https://documenter.getpostman.com
reverse_proxy https://documenter.getpostman.com {
header_up Host documenter.getpostman.com
}
}
redir /* /renterd permanent
}
Expand Down

0 comments on commit f87af37

Please sign in to comment.