OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 18.7 Legacy Series »
  • Caddy Proxy
« previous next »
  • Print
Pages: [1]

Author Topic: Caddy Proxy  (Read 3219 times)

guest15389

  • Guest
Caddy Proxy
« on: February 01, 2019, 02:16:16 pm »
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.
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13699
  • Karma: 1178
    • View Profile
Re: Caddy Proxy
« Reply #1 on: February 04, 2019, 11:56:33 am »
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
Logged

guest15389

  • Guest
Re: Caddy Proxy
« Reply #2 on: February 04, 2019, 03:03:13 pm »
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.
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13699
  • Karma: 1178
    • View Profile
Re: Caddy Proxy
« Reply #3 on: February 05, 2019, 09:28:46 am »
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
Logged

guest15389

  • Guest
Re: Caddy Proxy
« Reply #4 on: February 05, 2019, 03:49:20 pm »
I'll make a post in there that is a bit more descriptive on the install / setup and use.

Thanks for suggesting!
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13699
  • Karma: 1178
    • View Profile
Re: Caddy Proxy
« Reply #5 on: February 05, 2019, 11:19:33 pm »
Wonderful, thank you :)
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 18.7 Legacy Series »
  • Caddy Proxy
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2