# Generated by tools/site_routes.py
bitkeelmark.org, www.bitkeelmark.org, docs.bitkeelmark.org, learn.bitkeelmark.org, explorer.bitkeelmark.org, markets.bitkeelmark.org {
 encode gzip
 handle_errors {
  @missing expression {http.error.status_code} == 404
  handle @missing {
   root * /opt/bitkeelmark/current/site
   rewrite * /missing.html
   file_server
  }
 }
 header {
  X-Content-Type-Options nosniff
  X-Frame-Options DENY
  Referrer-Policy no-referrer
  -Server
 }
 @publish {
  host bitkeelmark.org srv1700433.hstgr.cloud
  method POST
  path /operator/append
 }
 handle @publish {
  request_body {
   max_size 512KB
  }
  reverse_proxy 127.0.0.1:18766
 }
 @write not method GET HEAD
 handle @write {
  respond 405
 }
 handle /raw/*.md {
  uri strip_prefix /raw
  root * /opt/bitkeelmark/public/docs
  header Content-Type "text/plain; charset=utf-8"
  file_server
 }
 @downloads path /BitKeelmark-source.zip /SHA256SUMS
 handle @downloads {
  root * /opt/bitkeelmark/public
  file_server
 }
 @reads path /api/* /peer/v1/status /peer/v1/blocks
 handle @reads {
  reverse_proxy 127.0.0.1:18764 {
   header_up Host 127.0.0.1:18764
   transport http {
    response_header_timeout 10s
   }
  }
 }
 root * /opt/bitkeelmark/current/site
 @assets path /assets/* /*.css /*.js /reserve.json
 handle @assets {
  header Cache-Control "public, max-age=300, must-revalidate"
  file_server
 }
 @old0 path /index.html
 handle @old0 {
  route {
   rewrite * /
   redir https://bitkeelmark.org{uri} 308
  }
 }
 @page0 {
  host bitkeelmark.org
  path /
 }
 handle @page0 {
  rewrite * /index.html
  file_server {
   disable_canonical_uris
  }
 }
 @old1 path /learn.html
 handle @old1 {
  route {
   rewrite * /
   redir https://learn.bitkeelmark.org{uri} 308
  }
 }
 @page1 {
  host learn.bitkeelmark.org
  path /
 }
 handle @page1 {
  rewrite * /learn.html
  file_server {
   disable_canonical_uris
  }
 }
 @old2 path /history.html /history/
 handle @old2 {
  route {
   rewrite * /history
   redir https://learn.bitkeelmark.org{uri} 308
  }
 }
 @page2 {
  host learn.bitkeelmark.org
  path /history
 }
 handle @page2 {
  rewrite * /history.html
  file_server {
   disable_canonical_uris
  }
 }
 @old3 path /protocol.html /technology/
 handle @old3 {
  route {
   rewrite * /technology
   redir https://learn.bitkeelmark.org{uri} 308
  }
 }
 @page3 {
  host learn.bitkeelmark.org
  path /technology
 }
 handle @page3 {
  rewrite * /protocol.html
  file_server {
   disable_canonical_uris
  }
 }
 @old4 path /start.html /get-started/
 handle @old4 {
  route {
   rewrite * /get-started
   redir https://docs.bitkeelmark.org{uri} 308
  }
 }
 @page4 {
  host docs.bitkeelmark.org
  path /get-started
 }
 handle @page4 {
  rewrite * /start.html
  file_server {
   disable_canonical_uris
  }
 }
 @old5 path /guide-index.html
 handle @old5 {
  route {
   rewrite * /
   redir https://docs.bitkeelmark.org{uri} 308
  }
 }
 @page5 {
  host docs.bitkeelmark.org
  path /
 }
 handle @page5 {
  rewrite * /guide-index.html
  file_server {
   disable_canonical_uris
  }
 }
 @old6 path /explorer.html
 handle @old6 {
  route {
   rewrite * /
   redir https://explorer.bitkeelmark.org{uri} 308
  }
 }
 @page6 {
  host explorer.bitkeelmark.org
  path /
 }
 handle @page6 {
  rewrite * /explorer.html
  file_server {
   disable_canonical_uris
  }
 }
 @old7 path /bitcoin.html /bitcoin/
 handle @old7 {
  route {
   rewrite * /bitcoin
   redir https://explorer.bitkeelmark.org{uri} 308
  }
 }
 @page7 {
  host explorer.bitkeelmark.org
  path /bitcoin
 }
 handle @page7 {
  rewrite * /bitcoin.html
  file_server {
   disable_canonical_uris
  }
 }
 @old8 path /prices.html
 handle @old8 {
  route {
   rewrite * /
   redir https://markets.bitkeelmark.org{uri} 308
  }
 }
 @page8 {
  host markets.bitkeelmark.org
  path /
 }
 handle @page8 {
  rewrite * /prices.html
  file_server {
   disable_canonical_uris
  }
 }
 @old9 path /guide-apps.html /docs/apps.md /apps/
 handle @old9 {
  route {
   rewrite * /apps
   redir https://docs.bitkeelmark.org{uri} 308
  }
 }
 @page9 {
  host docs.bitkeelmark.org
  path /apps
 }
 handle @page9 {
  rewrite * /guide-apps.html
  file_server {
   disable_canonical_uris
  }
 }
 @old10 path /guide-build.html /docs/build.md /build/
 handle @old10 {
  route {
   rewrite * /build
   redir https://docs.bitkeelmark.org{uri} 308
  }
 }
 @page10 {
  host docs.bitkeelmark.org
  path /build
 }
 handle @page10 {
  rewrite * /guide-build.html
  file_server {
   disable_canonical_uris
  }
 }
 @old11 path /guide-devnet.html /docs/devnet.md /devnet/
 handle @old11 {
  route {
   rewrite * /devnet
   redir https://docs.bitkeelmark.org{uri} 308
  }
 }
 @page11 {
  host docs.bitkeelmark.org
  path /devnet
 }
 handle @page11 {
  rewrite * /guide-devnet.html
  file_server {
   disable_canonical_uris
  }
 }
 @old12 path /guide-hosting.html /docs/hosting.md /hosting/
 handle @old12 {
  route {
   rewrite * /hosting
   redir https://docs.bitkeelmark.org{uri} 308
  }
 }
 @page12 {
  host docs.bitkeelmark.org
  path /hosting
 }
 handle @page12 {
  rewrite * /guide-hosting.html
  file_server {
   disable_canonical_uris
  }
 }
 @old13 path /guide-ledger.html /docs/ledger.md /ledger/
 handle @old13 {
  route {
   rewrite * /ledger
   redir https://docs.bitkeelmark.org{uri} 308
  }
 }
 @page13 {
  host docs.bitkeelmark.org
  path /ledger
 }
 handle @page13 {
  rewrite * /guide-ledger.html
  file_server {
   disable_canonical_uris
  }
 }
 @old14 path /guide-network.html /docs/network.md /network/
 handle @old14 {
  route {
   rewrite * /network
   redir https://docs.bitkeelmark.org{uri} 308
  }
 }
 @page14 {
  host docs.bitkeelmark.org
  path /network
 }
 handle @page14 {
  rewrite * /guide-network.html
  file_server {
   disable_canonical_uris
  }
 }
 @old15 path /guide-operations.html /docs/operations.md /operations/
 handle @old15 {
  route {
   rewrite * /operations
   redir https://docs.bitkeelmark.org{uri} 308
  }
 }
 @page15 {
  host docs.bitkeelmark.org
  path /operations
 }
 handle @page15 {
  rewrite * /guide-operations.html
  file_server {
   disable_canonical_uris
  }
 }
 @old16 path /guide-performance.html /docs/performance.md /performance/
 handle @old16 {
  route {
   rewrite * /performance
   redir https://docs.bitkeelmark.org{uri} 308
  }
 }
 @page16 {
  host docs.bitkeelmark.org
  path /performance
 }
 handle @page16 {
  rewrite * /guide-performance.html
  file_server {
   disable_canonical_uris
  }
 }
 @old17 path /guide-plan.html /docs/plan.md /plan/
 handle @old17 {
  route {
   rewrite * /plan
   redir https://docs.bitkeelmark.org{uri} 308
  }
 }
 @page17 {
  host docs.bitkeelmark.org
  path /plan
 }
 handle @page17 {
  rewrite * /guide-plan.html
  file_server {
   disable_canonical_uris
  }
 }
 @old18 path /guide-platforms.html /docs/platforms.md /platforms/
 handle @old18 {
  route {
   rewrite * /platforms
   redir https://docs.bitkeelmark.org{uri} 308
  }
 }
 @page18 {
  host docs.bitkeelmark.org
  path /platforms
 }
 handle @page18 {
  rewrite * /guide-platforms.html
  file_server {
   disable_canonical_uris
  }
 }
 @old19 path /guide-protocol.html /docs/protocol.md /protocol/
 handle @old19 {
  route {
   rewrite * /protocol
   redir https://docs.bitkeelmark.org{uri} 308
  }
 }
 @page19 {
  host docs.bitkeelmark.org
  path /protocol
 }
 handle @page19 {
  rewrite * /guide-protocol.html
  file_server {
   disable_canonical_uris
  }
 }
 @old20 path /guide-signers.html /docs/signers.md /signers/
 handle @old20 {
  route {
   rewrite * /signers
   redir https://docs.bitkeelmark.org{uri} 308
  }
 }
 @page20 {
  host docs.bitkeelmark.org
  path /signers
 }
 handle @page20 {
  rewrite * /guide-signers.html
  file_server {
   disable_canonical_uris
  }
 }
 @old21 path /guide-tokens.html /docs/tokens.md /tokens/
 handle @old21 {
  route {
   rewrite * /tokens
   redir https://docs.bitkeelmark.org{uri} 308
  }
 }
 @page21 {
  host docs.bitkeelmark.org
  path /tokens
 }
 handle @page21 {
  rewrite * /guide-tokens.html
  file_server {
   disable_canonical_uris
  }
 }
 @old22 path /guide-wallet.html /docs/wallet.md /wallet/
 handle @old22 {
  route {
   rewrite * /wallet
   redir https://docs.bitkeelmark.org{uri} 308
  }
 }
 @page22 {
  host docs.bitkeelmark.org
  path /wallet
 }
 handle @page22 {
  rewrite * /guide-wallet.html
  file_server {
   disable_canonical_uris
  }
 }
 @alias host www.bitkeelmark.org srv1700433.hstgr.cloud
 handle @alias {
  redir https://bitkeelmark.org{uri} 308
 }
 handle {
  error 404
 }
}
