Skip to content

Commit

Permalink
chore(caddy): add access logs for custom domains
Browse files Browse the repository at this point in the history
  • Loading branch information
neurosnap committed Nov 22, 2024
1 parent 9d945c2 commit 3243c2d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion caddy/Caddyfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

*.{$APP_DOMAIN}, {$APP_DOMAIN} {
reverse_proxy web:3000
log
log
tls {$APP_EMAIL} {
dns cloudflare {$CF_API_TOKEN}
resolvers 1.1.1.1
Expand Down Expand Up @@ -61,6 +61,7 @@

:443 {
reverse_proxy web:3000
log
tls {$APP_EMAIL} {
on_demand
}
Expand Down
1 change: 1 addition & 0 deletions caddy/Caddyfile.pgs
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ monitoring.{$MONITORING_APP_DOMAIN}, prometheus.{$MONITORING_APP_DOMAIN}, grafan

:443 {
reverse_proxy web:3000
log
tls {$APP_EMAIL} {
on_demand
}
Expand Down

0 comments on commit 3243c2d

Please sign in to comment.