Caddy: GUI limitation on adding settings?

Started by marcdeb, February 21, 2026, 11:13:12 AM

Previous topic - Next topic
February 21, 2026, 11:13:12 AM Last Edit: February 21, 2026, 11:17:21 AM by marcdeb
Hi, in Caddy, I need to add some upstream tls information. According to Caddy's documentation it should be added to the upstream part: https://github.com/mholt/caddy-l4/blob/master/docs/handlers/proxy.md. However, I'm unable to find where to do that in OPNsenses GUI.

I need it here: Caddy --> Layer4 Proxy --> (an entry) --> Section "Upstream".

How can I 'merge' settings within that section? As it seems I only need to add `tls` there...

Is this a GUI limitation?

February 21, 2026, 12:06:02 PM #1 Last Edit: February 21, 2026, 12:08:54 PM by Monviech (Cedrik)
Just check the TLS termination checkbox, that adds tls.

https://github.com/opnsense/plugins/blob/5c705233079d08a468b9123518fe397d32a14ab9/www/caddy/src/opnsense/service/templates/OPNsense/Caddy/includeLayer4#L27
Hardware:
DEC740

February 21, 2026, 03:43:49 PM #2 Last Edit: February 21, 2026, 04:06:19 PM by marcdeb
Tnx, but I need it within the proxy section, not before/outside of the proxy section. Actually need it within the upstream section within the proxy section... My upstream needs tls.