Published on

Using caddy to proxy IISExpress

Authors
  • avatar
    Name
    Timothy Blanks

How to use Caddy to proxy to .Net app running IISExpress

Pass all inbound traffic on port 8080 to the IISExpress instance, need to rewrite host header to make this work.

#Caddyfile
:8080 {
    #log
    handle * {
        reverse_proxy /* localhost:59495 {
            header_up Host localhost
        }
    }
}