Playground-Caddyfile.j2 1023 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. {{ nip_domain }}/ws-rpc* {
  2. uri strip_prefix /ws-rpc
  3. reverse_proxy localhost:9944
  4. }
  5. {{ nip_domain }}/http-rpc* {
  6. uri strip_prefix /http-rpc
  7. reverse_proxy localhost:9933
  8. }
  9. {{ nip_domain }}/colossus-1* {
  10. uri strip_prefix /colossus-1
  11. reverse_proxy localhost:3333
  12. }
  13. {{ nip_domain }}/distributor-1* {
  14. uri strip_prefix /distributor-1
  15. reverse_proxy localhost:3334
  16. }
  17. # newer versions of graphql-server seems to expect this url also
  18. {{ nip_domain }}/@apollographql/* {
  19. reverse_proxy localhost:8081
  20. }
  21. {{ nip_domain }}/query-node/server* {
  22. uri strip_prefix /query-node/server
  23. reverse_proxy localhost:8081
  24. }
  25. {{ nip_domain }}/query-node/indexer* {
  26. uri strip_prefix /query-node/indexer
  27. reverse_proxy localhost:4000
  28. }
  29. {{ nip_domain }}/orion* {
  30. uri strip_prefix /orion
  31. reverse_proxy localhost:6116
  32. }
  33. {{ nip_domain }}/member-faucet* {
  34. uri strip_prefix /member-faucet
  35. reverse_proxy localhost:3002
  36. }
  37. # Pioneer
  38. {{ nip_domain }}/* {
  39. reverse_proxy localhost:3000
  40. }