---
title: "Discussion on \"TLS using Caddy\" | Hashnode"
description: "Discussion on \"TLS using Caddy\". HTTPS/TLS for local Labs"
url: "https://hashnode.com/posts/tls-using-caddy/6a8f068cc569cf5a9f840913"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [TLS using Caddy](https://lbcyberdefense.hashnode.dev/tls-using-caddy?utm_source=hashnode&utm_medium=feed)

HTTPS/TLS for local Labs

Aug 26 · 4 min read · lbcyberdefense.hashnode.dev  
Updated Aug 29  
Read the article

-   [#tls](https://hashnode.com/tag/tls)
-   [#https](https://hashnode.com/tag/https)
-   [#caddy](https://hashnode.com/tag/caddy)

## Written by

[Luis Baldera](https://hashnode.com/@lbcyberdefense)

@lbcyberdefense

  
[View profile](https://hashnode.com/@lbcyberdefense)

IT Support and CyberSecurity Analyst

## Responses 1

Comments are turned off for this post.

[Edge Ops](https://hashnode.com/@edgecacheops)

[Nov 4](https://hashnode.com/posts/tls-using-caddy/6a8f068cc569cf5a9f840913/comment/6aebc31fbb245109d5710ee2)

Caddy as the TLS front door for local or LAN apps is a clean pattern: one public listener owns ACME and HTTPS, and every upstream stays on a private address or compose network. I put each hostname in its own site block, reverse\_proxy only the paths that should hit the app, and keep ACME HTTP-01 on :80 unblocked so renewals do not depend on the same path rules that serve the UI.

Ops checks after a Caddyfile change: confirm the issued cert SANs match every site name, that plain HTTP 301s to HTTPS on the canonical host in one hop, and that upstream connect failures show separately from timed-out reads. For WebSocket or long-lived admin UIs I raise read timeouts and avoid response buffering where needed; after reload I hit a static asset and a dynamic path separately so a trailing-slash or Host mismatch does not look like an application bug.
