Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2025
347
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.46 KB | None | 0 0
  1. {
  2. storage redis {
  3. host redis
  4. port 6379
  5. username ""
  6. password ""
  7. db 0
  8. timeout 5
  9. key_prefix "caddy"
  10. tls_enabled false
  11. tls_insecure true
  12. }
  13. }
  14.  
  15. service.domain.com {
  16. reverse_proxy /web* http://service2:80
  17. reverse_proxy * http://service:8080
  18. }
  19.  
  20. service3.domain.com {
  21. reverse_proxy 100.64.0.2:9001
  22. }
  23.  
  24. service4.domain.com {
  25. reverse_proxy 100.64.0.2:9925
  26. }
  27.  
  28. service5.domain.com {
  29. reverse_proxy service5:5000
  30. }
  31.  
  32. service6.domain.com {
  33. reverse_proxy 100.64.0.2:2283
  34. }
  35.  
  36. service7.domain.com {
  37. reverse_proxy 100.64.0.2:3002
  38. }
  39.  
  40. service8.domain.com {
  41. reverse_proxy 100.64.0.2:3000
  42. basic_auth {
  43. user $2a$12$zOr.thNDRwsfQ9F1IkpIme4GB0P9GC8HKKGrdE3MccZS.XdnKGKPu
  44. }
  45. }
  46.  
  47. service9.domain.com {
  48. reverse_proxy service9:80
  49. }
  50.  
  51. service10.domain.com {
  52. reverse_proxy service10:37405
  53. }
  54.  
  55. service11.domain.com {
  56. reverse_proxy 100.64.0.2:5230
  57. }
  58.  
  59. service12.domain.com {
  60. reverse_proxy 100.64.0.2:51515 {
  61. transport http {
  62. tls_insecure_skip_verify
  63. }
  64. }
  65. }
  66.  
  67. service13.domain.com {
  68. reverse_proxy service13:8080
  69. }
  70.  
  71. service14.domain.com {
  72. reverse_proxy service14:80
  73. }
  74.  
  75. service15.domain.com {
  76. reverse_proxy service15:443
  77. }
  78.  
  79. domain2.com {
  80. root * /app/public/domain2.com
  81. php_fastcgi php-fpm:9000
  82. file_server
  83. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement