Caddy Proxy

Started by guest15389, February 01, 2019, 02:16:16 PM

Previous topic - Next topic
I use Caddy instead of NGINX or anything else as it auto handles the SSL process and provides me easy Google oAuth.

I was seeing if it works on OPNSense as FreeBSD is supported. I installed via:

pkg install wget

wget "https://caddyserver.com/download/freebsd/amd64?plugins=http.cache,http.cgi,http.jwt,http.login,tls.dns.cloudflare&license=personal&telemetry=on"

As those the few plugins that I personally use.

I did a caddy_enable in my /etc/rc.conf
caddy_enable=YES

And dropped the freebsd init script in /usr/local/etc/rc.d/caddy with a few basic tweaks for the paths and such.

Very happy with the ease it was installed and setup as I moved my internal proxy to my router instead of having it on my Linux box.

There's a port for this... https://www.freshports.org/www/caddy/ are you asking for an official package or is this more of an informational post at this point?


Cheers,
Franco

Just informational.

They already have a freebsd download so you can use that to configure your own plugins as the port is missing some I use and a version behind.

Ah ok, shall we move this to the tutorials forum so it can always be discussed in the future? This 18.7 forum will be archived in 6 months.


Cheers,
Franco

I'll make a post in there that is a bit more descriptive on the install / setup and use.

Thanks for suggesting!

Wonderful, thank you :)