Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Anybody using Caddy as a reverse proxy or a webserver?
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Anybody using Caddy as a reverse proxy or a webserver?

sreekanth850sreekanth850 Member
edited April 2023 in General

Following this project for sometime, but never tried. Anybody benchmarked this against OLS or NGINX?

«1

Comments

  • All the way with nginx. Don't see any reason using something else.

  • sreekanth850sreekanth850 Member
    edited April 2023

    @Azenot said:
    All the way with nginx. Don't see any reason using something else.

    Automated SSL for custom hostnames in reverse proxy mode. Which NGINX doesn't have. Currently We are using Bunny pullzone for managing this through automated API calls when a client signs up, but they don't support websockets yet. So thinking of testing caddy.

  • desperanddesperand Member
    edited April 2023

    caddy is cool toy, when performance and quality not important.

    OLS - bugged shit.

    nginx - top.

    Litespeed = top.

    apache - not really good.

    Thanked by 1paijrut
  • @desperand said:
    caddy is cool toy, when performance and quality not important.

    OLS - bugged shit.

    nginx - top.

    Litespeed = top.

    apache - not really good.

    Using NGINX, and as i mentioned earlier caddy to use as a reverse proxy to server ssl automated for clients hostnames.

  • yoursunnyyoursunny Member, IPv6 Advocate
  • Ah i saw it. playing around with caddy now. its cool to get automated ssl without any certbot.

  • ptrejaptreja Member
    edited April 2023

    There's a good comparison of Caddy vs NGINX performance here: https://blog.tjll.net/reverse-proxy-hot-dog-eating-contest-caddy-vs-nginx/

    I prefer the configuration syntax and auto SSL convenience for Caddy and use it as a reverse proxy for most smaller sites (< 200req/s) but for high traffic sites I still use NGINX for now due to the improved reverse proxy performance.

  • Using Caddy cuz it is shipped with Convoy: https://github.com/ConvoyPanel/panel
    Works well and fast :))

  • tentortentor Member, Patron Provider

    Generally I prefer nginx, but for containerized infrastructure Caddy with https://github.com/lucaslorentz/caddy-docker-proxy much more convenient comparing to nginx.

    Thanked by 2sreekanth850 ehab
  • @tentor said:
    Generally I prefer nginx, but for containerized infrastructure Caddy with https://github.com/lucaslorentz/caddy-docker-proxy much more convenient comparing to nginx.

    Will check this.

  • @BilohBucks said:
    Using Caddy cuz it is shipped with Convoy: https://github.com/ConvoyPanel/panel
    Works well and fast :))

    This is something new will look into this.

    Thanked by 1BilohBucks
  • akhfaakhfa Member

    @tentor said:
    Generally I prefer nginx, but for containerized infrastructure Caddy with https://github.com/lucaslorentz/caddy-docker-proxy much more convenient comparing to nginx.

    I use Traefik as reverse proxy for container. No need any other plugin to work with container natively.
    The additional plugin available to enrich its functionality such as WAF, but I never tried the plugin yet

  • ehabehab Member

    @tentor said:
    Generally I prefer nginx, but for containerized infrastructure Caddy with https://github.com/lucaslorentz/caddy-docker-proxy much more convenient comparing to nginx.

    isnt this like https://traefik.io/traefik/ much older and production ready?

  • tentortentor Member, Patron Provider

    @akhfa said:
    I use Traefik as reverse proxy for container. No need any other plugin to work with container natively.
    The additional plugin available to enrich its functionality such as WAF, but I never tried the plugin yet

    @ehab said:
    isnt this like https://traefik.io/traefik/ much older and production ready?

    Traefik looks like over-engineering for my current usage, I am not really a pro in containerization.

    Thanked by 1ariq01
  • you're welcome for the affiliate conversion

  • @akhfa said:

    @tentor said:
    Generally I prefer nginx, but for containerized infrastructure Caddy with https://github.com/lucaslorentz/caddy-docker-proxy much more convenient comparing to nginx.

    I use Traefik as reverse proxy for container. No need any other plugin to work with container natively.
    The additional plugin available to enrich its functionality such as WAF, but I never tried the plugin yet

    is this only for docker containers?

  • @ptreja said:
    There's a good comparison of Caddy vs NGINX performance here: https://blog.tjll.net/reverse-proxy-hot-dog-eating-contest-caddy-vs-nginx/

    I prefer the configuration syntax and auto SSL convenience for Caddy and use it as a reverse proxy for most smaller sites (< 200req/s) but for high traffic sites I still use NGINX for now due to the improved reverse proxy performance.

    woah, thank you for nice link!

  • dosaidosai Member

    I'm using caddy as a reverse proxy for all my vps'.

  • I used caddy as a Web server and reverse proxy for all of my personal stuff, I like the simplicity. Not sure about production usage thougb

  • @BilohBucks said:
    Using Caddy cuz it is shipped with Convoy: https://github.com/ConvoyPanel/panel
    Works well and fast :))

    This looks interesting.

    Thank you for sharing!

    Thanked by 1BilohBucks
  • I'm using it on 7 sites (production). Performance has been good and problem free so far.

  • OLS is my life.

  • sreekanth850sreekanth850 Member
    edited April 2023

    @febryanvaldo said:
    OLS is my life

    OLS is not a silverbullet for all usecase. It can be good for wordpress but not for everything. Not for my use case atleast, where i have a .net core Web API server running on a kestrel server which is served by a NGINX Reverse proxy. And a Next JS front end APP. And i need a service for front end app, to provide custom hostnames. Currently i use bunny pullzone for each customer (instead of AWS cloud front), it points to the next js APP and issue SSL for customer domain added. Looking to replace bunny with a Reverse proxy. I think OLS is nowhere useful for this kind.

  • @vinhais said:
    I'm using it on 7 sites (production). Performance has been good and problem free so far.

    Good to know this. Now playing with it, reverse proxy is an issue, i need to setup custom headers for each domain. lets dig some more deep.

  • @bgerard said:
    I used caddy as a Web server and reverse proxy for all of my personal stuff, I like the simplicity. Not sure about production usage thougb

    Yea, need a long testing before going to production, but i feel like its a good option for offloading SSL certificates.

  • @sreekanth850 said:

    @bgerard said:
    I used caddy as a Web server and reverse proxy for all of my personal stuff, I like the simplicity. Not sure about production usage thougb

    Yea, need a long testing before going to production, but i feel like its a good option for offloading SSL certificates.

    It's a great server.
    We have been using it in production to provide cname option across multiple of our services by tightly integrating it's api into our service for over an year.
    Zero issues.

    Only thing we don't like about it is, there is no ui, that works with it, and their master slave configuration can drive you mad.

  • alt_alt_ Member

    I've been using Caddy serving 30k ips per day already.

  • buyserverbuyserver Member, Patron Provider

    Nginx Proxy Manager . Does SSL etc... It is mostly used for home labs but can be used for other things. It is free and super easy to use.

    Thanked by 1ehab
  • akhfaakhfa Member

    @ehab said:

    @tentor said:
    Generally I prefer nginx, but for containerized infrastructure Caddy with https://github.com/lucaslorentz/caddy-docker-proxy much more convenient comparing to nginx.

    isnt this like https://traefik.io/traefik/ much older and production ready?

    I think so. Using traefik since version 1.5 iirc. No usability issue so far. I use it for any reverse-proxy in container needs, in production also. Works great including on kubernetes. It also have clear business model as a company.

    What I hate about it is when migrating kubernetes ingress from version 1 to version 2. It is like learning new things because they rewrite the software design. But for docker compose use, no problem.

    The documentation can be complicated at first, but after getting used about how traefik works, it is pretty good enough.

  • tuctuc Member
    edited April 2023

    nginx is the best! B)
    a 512mb-ram VPS running certbot can support a hundred of vps for that many number of domains. A path unit systemd service on these vps can help to reload nginx whenever new ssl keys received from the 512mb-ram one.

Sign In or Register to comment.