Advertisement
Guest User

Broken caddy

a guest
Feb 22nd, 2023
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 1.82 KB | Software | 0 0
  1. { # Global Options
  2.   email contact@leecalvink.net
  3.   log {
  4.     output file /var/log/caddy/caddy.log {
  5.       roll_size 10MiB
  6.       roll_keep 5
  7.       roll_gzip
  8.     }
  9.     level info
  10.   }
  11. }
  12.  
  13. # ==========
  14. # NET.club
  15. # ==========
  16.  
  17. net-2023.club {
  18.   respond /.well-known/matrix/server {"m.server":"chat.net-2023.club:8448"}
  19.   respond /.well-known/matrix/client {"m.homeserver":{"base_url":"https://chat.net-2023.club"}}
  20.   header "/.well-known/matrix/*" Content-Type application/json
  21.   header "/.well-known/matrix/*" Access-Control-Allow-Origin "*"
  22.   tls {
  23.     dns porkbun {
  24.       api_key {env.PORKBUN_API_KEY}
  25.       api_secret {env.PORKBUN_API_SECRET}
  26.     }
  27.   }
  28. }
  29.  
  30. chat.net-2023.club chat.net-2023.club:8448 {
  31.   handle /_matrix/* {
  32.     reverse_proxy localhost:8008
  33.   }
  34.   tls {
  35.     dns porkbun {
  36.       api_key {env.PORKBUN_API_KEY}
  37.       api_secret {env.PORKBUN_API_SECRET}
  38.     }
  39.   }
  40. }
  41.  
  42. files.net-2023.club {
  43.   reverse_proxy localhost:8080
  44.   tls {
  45.     dns porkbun {
  46.       api_key {env.PORKBUN_API_KEY}
  47.       api_secret {env.PORKBUN_API_SECRET}
  48.     }
  49.   }
  50. }
  51.  
  52. # ============
  53. # azimuth.place
  54. # ============
  55.  
  56. azimuth.place {
  57.   reverse_proxy localhost:4000
  58.   tls {
  59.     on_demand
  60.     dns porkbun {
  61.       api_key {env.PORKBUN_API_KEY}
  62.       api_secret {env.PORKBUN_API_SECRET}
  63.     }
  64.   }
  65. }
  66.  
  67. #honk.azimuth.place {
  68. #  reverse_proxy unix//run/honk/honk.sock
  69. #    dns porkbun {
  70. #      api_token {env.PORKBUN_API_KEY}
  71. #    }
  72. #}
  73.  
  74. rss.azimuth.place {
  75.   reverse_proxy unix//run/miniflux/miniflux.socket
  76.   tls {
  77.     dns porkbun {
  78.       api_key {env.PORKBUN_API_KEY}
  79.       api_secret {env.PORKBUN_API_SECRET}
  80.     }
  81.   }
  82. }
  83.  
  84. git.azimuth.place {
  85.   reverse_proxy unix//run/gitea/gitea.sock
  86.   tls {
  87.     dns porkbun {
  88.       api_key {env.PORKBUN_API_KEY}
  89.       api_secret {env.PORKBUN_API_SECRET}
  90.     }
  91.   }
  92. }
  93.  
  94.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement