Guest User

appname.yml

a guest
Sep 20th, 2020
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. http:
  2. routers:
  3. appnamehere-rtr:
  4. rule: "Host(`appnamehere.yourdomainnamehere.com`)"
  5. entryPoints:
  6. - https
  7. middlewares:
  8. - chain-authelia
  9. - appnamehere-add-admin
  10. service: appnamehere-svc
  11. tls:
  12. certResolver: dns-cloudflare
  13. middlewares:
  14. appnamehere-add-admin:
  15. addPrefix:
  16. prefix: "/admin"
  17. services:
  18. pihole1-svc:
  19. loadBalancer:
  20. servers:
  21. - url: "http://appipaddresshere:appporthere"
  22.  
  23. you can also remove the adding of prefixes like /admin by doing this instead
  24.  
  25. http:
  26. routers:
  27. appnamehere-rtr:
  28. rule: "Host(`appnamehere.yourdomainnamehere.com`)"
  29. entryPoints:
  30. - https
  31. middlewares:
  32. - chain-authelia
  33. service: appnamehere-svc
  34. tls:
  35. certResolver: dns-cloudflare
  36. services:
  37. reofront-svc:
  38. loadBalancer:
  39. servers:
  40. - url: "http://appipaddresshere:appporthere"
  41.  
  42.  
Add Comment
Please, Sign In to add comment