Caddyfile raw

   1  # FOR TESTING ONLY, do not use internal tls!
   2  https://your-domain.com {
   3      redir /example-path /example-path/ 301
   4      handle_path /example-path* {
   5  		reverse_proxy localhost:8080
   6  	}
   7      tls internal
   8  }