Skip to content

Commit

Permalink
ci: update caddyfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfreska committed Sep 15, 2023
1 parent 89ea9e7 commit 9b1d61e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 13 deletions.
23 changes: 14 additions & 9 deletions server/Caddyfile
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,12 @@ sia.tech {
reverse_proxy localhost:3001
}

(cloudflare) {
tls {
dns cloudflare {$CADDY_CLOUDFLARE_TOKEN}
}
}

beta.sia.tech {
import website
reverse_proxy localhost:3009
Expand Down Expand Up @@ -90,21 +96,20 @@ explore.sia.tech {
redir https://siascan.com{uri} permanent
}

siascan.com {
encode gzip
reverse_proxy localhost:3003
zen.sia.tech {
redir https://zen.siascan.com{uri} permanent
}

design.sia.tech {
siascan.com {
tls internal
import cloudflare
encode gzip
reverse_proxy localhost:3004
}

zen.sia.tech {
redir https://zen.siascan.com{uri} permanent
reverse_proxy localhost:3003
}

zen.siascan.com {
tls internal
import cloudflare
encode gzip
reverse_proxy localhost:3005
}
Expand Down
4 changes: 0 additions & 4 deletions server/Caddyfile-dev
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,6 @@ explore.local {
reverse_proxy localhost:3003
}

design.local {
reverse_proxy localhost:3004
}

zen.local {
reverse_proxy localhost:3005
}
Expand Down

0 comments on commit 9b1d61e

Please sign in to comment.