sh-admin-subpath-access.Caddyfile 180 B

12345678910111213141516
  1. {
  2. admin off
  3. persist_config off
  4. }
  5. :80 :3100 {
  6. handle_path /admin* {
  7. root * /site/sh-admin-subpath-access
  8. file_server
  9. try_files {path} /
  10. }
  11. handle {
  12. respond 404
  13. }
  14. }