Log file always empty

(Deanicus) #1

Hey,

I’m a bit of a noob to Caddy and web servers in general so please bear with me

I have been able to setup a reverse proxy with Caddy but my logfile is always empty. I am using the latest version on Mac.

My Caddyfile is below, the log file gets created but I never see anything in it.

mydomain.com {
gzip
timeouts 1h
log /Users/deanicus/Caddy/caddy.log
tls {
  dns cloudflare
}
proxy / localhost:32400 {
 transparent
 websocket
 keepalive 12
 timeout 1h
    }
}

It’s probably a simple thing that I have missed but any help is appreciated

Thanks

1 Like
(Deanicus) #2

Never mind, I’m an idiot and didn’t have my port forwarding rules on my router, applied correctly

1 Like