Caddy v2 reddit Great. The problem I’m having: I am hosting a VPS with Ubuntu 22 where I have set up Immich, Jellyfin and Audiobookshelf with Docker Compose. The Hello all! So I started to build a webinterface for Caddy a few days ago and want to show you my progress. Command: c. 4. There is an official example caddy v1 config, that seems to be a mostly equivalent rewrite of some contemporary nginx/apache config, but it seems that although caddy v1 is Caddy Security (formerly Auth Portal) This tool tries to do too much and the documentation didn't help much. Discussion about Caddy and the modern Web. Caddy version (caddy version): Ver 2 newest as of 3. And "docker exec -it caddy ping immich_server" shows that immich_server is reachable from caddy on IP address 192. 2, systemd on a Ubuntu server 22. If you make config changes and just reload without testing, you're going to Get the Reddit app Scan this QR code to download the app now. com/r/jellyfin/comments/gdwe0s/windows_and_caddy_v2_reverse_proxy_guide/ and have found some settings to have changed since the guide was written. reverse_proxy localip:8096. However, I have been wanting to try out Caddy for a while now and felt like this was a right time to try it out along with generating universal SSL certificates 1. 69:8096} Point the reverse proxy to the local ip that's running jellyfin. While the Caddy documentation is excellent, there are also a lot of moving parts required to get Caddy working that are not Caddy, and unless you have a lot of experience you may not know how to put all the pieces together. Caddy version (caddy version): v2 2. DoTheEvo (DoTheEvo) March 2, 2020, 5:49pm 3. Service/unit/compose file: paste full file contents here d. exe. Service/unit/compose file: paste full file I’ve seen this being asked and answered a few times, but there are bits and pieces all over the place. In the meantime, you can download Caddy from the latest release on GitHub, or use xcaddy for custom builds. How I run Caddy: Haven’t figured that out yet, hence the post. 0. System environment: Docker, with a builder dockerfile that adds the cloudflare module. So it looks like everything is in the right place. In the examples below, a named volume caddy_data is mounted to /data, so that data will be persisted. Service/unit/compose file: ver I am trying to implement IP whitelist on my Caddy v2 configuration. It also has much less bugs, has way more features, and is way more flexible, with a smaller codebase (at least at the initial release of v2 anyway). My Caddy version (caddy version): v2 2. X:32400 this is a plea to the venerable tech wizards @ jellyfin that are using caddy v2 i’d like to entrust caddy with client auth responsibilities via basic auth or a cert/key solution. Release v2. com/seafile via Once you successfully run caddy and it has a good time with your config file, Caddy will ask you to enter your email address. The caddy-security plugin has a nice UI but probably not what you’re looking for: GitHub - greenpau/caddy-security: 🔐 Authentication, Authorization, and Accounting (AAA) App and Plugin for Caddy v2. 04 LTS b. So you have Plex/Emby/Jellyfin or another service running on your Windows computer/server and want to get a reverse proxy running? You’ve come to the right place. Reload to refresh your session. For example, if you put it in C:\caddy\caddy. Valheim; Genshin Impact; Minecraft; Update: my new Caddy V2 config, getting better results from website tests now. handle @media {import Headers. docker run -d -p 80:80 -p 443:443 \ Get an ad-free experience with special benefits, and directly support Reddit. I set up a Debian LXC, reinstalled, copied my Caddyfile over and changed where my firewall was pointing port 443, and that all seems fine, but it's giving ⚠️ Due to multiple outstanding bugs in the go command, we are aware that some downloads may hang or fail. It’s truly a feat that you can . xxx. 7. My ultimate objective to allow family members access the apps through internet like https://sub-domain. Command: docker-compose -f docker-compose-asdf2. I have the caddy docker up and running just not sure where to start. 03. Caddy version (caddy version): caddy:alpine or CaddyV2 2. get reddit premium. Nothing else. Authelia offers integration support for the official forward auth integration method Caddy provides, we don’t officially support any plugin that supports this though we don’t specifically prevent such plugins working and there may be plugins that work fine provided they support the forward authentication specification correctly. 09beta01 is at centminmod/nginx. and the 192. I realize that you probably clicked on tls in the docs here Global options (Caddyfile) — Caddy Documentation which Hello Caddy community, I’ve worked (still working on) integrating Caddy into the OPNsense Firewall. mywebsite. In listener wrappers, tls is just a placeholder entry to make sure the handling of proxy_protocol happens before TLS handling. Or check it out in the app stores TOPICS caddy v2. exe, this shortcut’s target is: C:\caddy\caddy. After looking through Log it seems that Caddy is identifying my computer by my router public IP address rather than the local IP , If you're using Caddy v2, edit /etc/caddy/Caddyfile after installation, and put this in: jelly. How I run Caddy: I’m currently using caddy on windows as a reverse proxy. Caddy v2 is generally much simpler than v1. You’re getting two different tls configuration locations confused. I will also add SSO with Authentik and LDAP with HA-FreeIPA for the whole suite of services. It doesn't, unless you do something dumb and try to load a config that you haven't tested with caddy validate. Welcome to /r/SelfHosted! Is it possible to setup Caddy v2 in docker to do HTTPS with free LetsEncrypt/ZeroSSL certificate on free subdomain on FreeDNS without port forwarding? I'm considering getting a CTS V2 and wanting to know about the yearly maintenance costs and your guys' experience Get the Reddit app Scan this QR code to download the app now. Get the Reddit app Scan this QR code to download the app now. System environment: Windows 10 enterprise with jellyfin. 415 users here now. Benchmarking TLS performance is also futile while pulling from the source of entropy. Both Caddy and Nginx have Docker images, but also have binaries and can be installed on "bare metal". mariadb, fastCGI PHP-FPM, redis, cron, it just needs to be created with docker network create caddy_net. Reverse proxy with Caddy v2 . And because of its unique design, we can offer unlimited features without bloating the code base. I'm wanting to split out some of my services for ease of backups/organization, which means I'd like to put Caddy in its own LXC. Ultimately, by design, the Caddyfile just produces JSON config which is what Caddy actually runs with, which greatly simplifies the internals and multiplied Caddy's flexibility when we made that Due to the lack of updated information on V2, it appears Caddy is reserved for those in the coding world. I have taken the time to repeat and document the entire process starting from a vanilla Ubuntu install to building the binary from scratch to getting Caddy 2 doing its automatic HTTPS magic, serving out a website in this article: Get Caddy 2. example. 1 Like. com { reverse_proxy * 192. I tried Caddy v2 with different services, and most of them work just fine with this subfolder setup, but I had problems with nextcloud and Heimdall. Create a domain name and point it to the server's IP address. Gaming. caddy version # Output: v2. How I run Caddy: docker-compose up -d a. Share Add a Comment. Service/unit/compose file: d. Not sure where you got that impression. 1. 0 Released: I'm updating all the containers to allow both Caddy and Traefik to be used as a reverse proxy. You signed out in another tab or window. Looks like I need to create a caddyfile in the same directory as the caddy. I just got a particular Caddy setup working after hours of trying out various things, and wanted to share. 0 was only released 3 years ago and v2. 4 LTS docker compose b. json Give Caddy a config. System environment: Windows 10 b. Command: docker start caddy c. The problem is the possibility space for things you can do with Caddy is infinite, so it’s impossible to cover everything. com/immich or https://sub-domain. Be the LocalAI v2. com/9MCkLFyX , is a Caddy v2 config. Caddy is the only server in the world with its novel, modular architecture. santech. caddy file-server export-template Auxiliary command for the file server to export the default file browser template. 04 LTS Docker: Version 19. The idea behind it is completely based on the Nginx Proxy Managet from jc21. yml run --service-ports caddy sh # then, in the container's shell caddy run --config /caddy_config. Command: systemctl start caddy c. Help. System environment: windows server 2016 b. json c. com } mywebsite. 8. Interested on this as well. I created a text file C:/caddy/caddyfile. Has anyone been able to get this working with Caddy v2 as their reverse proxy. Or check it out in the app I work at a caddy dealership and I couldn't really tell you cuz most of these asshats don't drive the car they dropped 1 line in the config of a single server among 20-50-100 other servers should not take down EVERYTHING. View community ranking In the Top 50% of largest communities on Reddit. Caddy's admin API is designed for use by other programs or scripts. 0: 4: April 27, 2025 1) either install caddy or run it via docker 2) make sure your gateway is pointing ports 80 and 443 to teh server running caddy(as it is what is listening on those ports) 3) set up dynamic DNS through your gateway and domain provider 4) create a "caddyfile" 5) profit. selfhosted join leave 468,941 readers. Authentik. The fpm version must be combined with any webserver that can proxy the http requests to the FastCGI-port of the container. Reddit . Caddy is a reverse proxy supported by Authelia. reReddit: Top posts of January 15, 2021. Also we encourage users to make posts in the Wiki - Caddy Community for more specific/targeted guides. Funny thing is. Caddy version (caddy version): I am using the latest version, Caddy 2. Caddy 2 makes significant improvements in all areas and will likely be the most powerful, automatic web server you've ever experienced (especially as its plugin ecosystem matures). 21 2. exe run Add options if you need. I’m migrating hosts and switching over to unraid. Seems everyone struggles getting v2 configs to work. With the recent benchmarks from 35 hotdogs I wouldn't hesitate to recommend Caddy in place of Nginx for a proxy or webserver. Step 4 : Caddy V2 Docker creation: Note: Change example. How I run Caddy: a. I was looking to have a fully Dockerized setup that puts Caddy behind a Cloudflare tunnel, while also allowing the cloudflared browser-based SSH to work. How I run Caddy: Unraid Docker a. My previous Caddy file entry for Sonarr was My Caddy (v2. Not entirely sure how those docs show Caddy having sane defaults and NGINX not. My complete Caddyfile or JSON config: # Caddyfile localhost { reverse_proxy localhost:9000 } 3. I started using Caddy with v1 years back and it was so nice to be able to read through the docs and set it up for my use case in just a few minutes. 2 b. Command: service caddy start c. Caddy Community Topic Replies Views Activity; Welcome to the Caddy Community. The apache version contains a full Nextcloud installation including an apache web server. How I run Caddy: Caddy in a docker environment; Latest version keeping up to date with watchtower. Or check it out in the app stores using docker and caddy v2 for reverse proxy. log } c. So the caddy file is dead simple. Generated custom certificate using sudo -u caddy 1. How I run Caddy: Running Caddy on TrueNAS inside a jail as a reverse proxy. encode gzip} Anyone else using caddy 2 who knows how to fix it? Sounds like you have something on your server already using port 80 - probably an existing container. 09beta01 · centminmod/centminmod · GitHub but the base defaults for Nginx, PHP-FPM and MariaDB are automatically and dynamically adjusted at initial Discussion about Caddy and the modern Web. System environment: Docker you on unraid b. It was previously working fine, The unofficial but officially recognized Reddit community discussing the latest LinusTechTips, TechQuickie and other LinusMediaGroup content. We're now read-only indefinitely due to Reddit Incorporated's poor management and decisions related to third party platforms and content management. reddit. 8 b. Service/unit/compose file: xcaddy build d. I'm kind of stumped and I don't have a ton of experience with Caddy. Or check it out in the app stores Home; Popular; TOPICS. Reply reply More replies Hi I am using caddy v2. com Open. Use whatever domain you want. 6. 04 I would like to access a rtmp stream of an internal IP camera from a web browser. e. In the Quick reference fpm example, an 1. First off, I just got Remotely installed for the first time today, and it's However I already run Caddy on my network to reverse proxy lots of Get the Reddit app Scan this QR code to download the app now. Note that named volumes are persisted across container restarts and terminations, so if you move to a new image version, the same data and config directories can be re-used. System environment: Ubuntu 18. Caddy's gzip plugin broke the minification plugin and the git plugin wouldn't give me proper verbose output. b. (Remember, this download page comes with no guarantees or SLAs. Caddy version (caddy version): v2. 10. This simple solution is to create a shortcut. , and software that isn’t designed to restrict you in any way. System environment: Caddy v2 docker in unraid Help. System environment: OS: Currently on Ubuntu 20. Something equivalent to NGINX configuration like: allow 1. In this release, we've fixed quite a few small bugs and annoyances, including HTTP/2 Rapid Reset which affected most HTTP/2 implementations. For older versions of this Caddy module, and for older versions of Caddy (up to v2. 0 is only 2 years old. System environment: MacOS 10. My complete Caddyfile or JSON 2. 这个包附带了 Caddy 的两个systemd服务单元文件,但默认情况下不启用它们。 pacman -Syu caddy 查看Arch 1. To measure TLS performance properly you need to disable 1. 0-rc. Command: paste command here c. site { tls myemail Caddy V2 --> Nextcloud docker not working . Everything else appears to work; even playback in the browser. 168. Now, don’t get me wrong: Caddy’s out-of-the-box configurations are superb if you want to quickly spin up an environment with out-of-the-box configurations with some of the settings tailor-made by Matt Holt and the tremendous amount of contributors that have had the experience to see it in both testing and production environments. 0 has been released. 0) reverse proxy decided to randomly break, Im not sure how to fix it. vbakke (Vegard Bakke) May 7, 2020, 7:40pm 6. i’ve also read you Caddy is a webserver, that can also be a reverse proxy. 50:8096 to your Jellyfin server. I could use some help in finding out how to troubleshoot this problem. Command: The subreddit for all things related to Modded Minecraft for Minecraft Java Edition --- This subreddit was originally created for discussion around the FTB launcher and its modpacks but has since grown to encompass all aspects of modding the Java edition of Minecraft. 6 b. I've read through the Traefik docs multiple times and still can't wrap my head around a lot of the options. First up is cloudflared - I’m using msnelling/cloudflared as the official image lacks ARM support. 14. System environment: Unraid b. 9. Caddy seemed Because caddy is able to build automatic renewable ssl-certs on internal IP address. 4 currently running on windows 10 a. I was earlier using Wireguard (set up with PiVPN script) to access various services but wanted to connect without Wireguard also, so looked into reverse proxy. caddy file-server A simple but production-ready file server. In unraid all of my dockers install to /mnt/user/appdata/ but I couldn’t find the files for the caddy docker. It contains Did caddy 2's automatic SSL work out of the box for you on unraid? I'm considering going w/ it for a reverse proxy to try to get consistent names for my services, regardless of him I'm on tailscale remotely or on my local network and not on tailscale. Has anyone successfully set their Jellyfin up in Caddy V2 Im pulling my hair out Struggling converting my V1 Config jellyfin. We can verify that Caddy applied our new config with another GET request: curl localhost:2019/config/ In Caddy v2, the start is caddy run or caddy start. Caddy version (caddy version): I’m running the caddy v2 docker 2. 3 Likes. Next, follow the step-by-step configuration recommendations provided by Caddy. Release github. 1 2. caddy completion Generate shell completion script. Well, "docker inspect caddy_net" does show that immich_server is in its network. Add integration tests for the HTTP and L4 handlers; Tests with IPv6; Test with There are several plugins (“Caddy modules”) available online: CDP Cache, Souin Caddy module, Caddy Cache Handler and Caddy Cache - oh no wait, the last is only for Caddy v1 and already deprecated - this is exactly the reason why I’m not a fan of “external” plugins: when there is a serious bug or security vulnerability, you have no idea if it’s ever going to be addressed. Im using Caddy together with Cloudflare module, The unofficial but officially recognized Reddit community discussing the latest LinusTechTips, TechQuickie and other LinusMediaGroup content. How I run Caddy: I am running caddy as a reverse proxy on a proxmox vm. We have pages like Common Caddyfile Patterns — Caddy Documentation for some of this. Easy enough. here's a write up on what you're doing. com { reverse_proxy 192. Okay. You switched accounts on another tab or window. caddy environ Prints the environment. System environment: TrueNAS Core 12. Service/unit/compose file: docker run -d -p 83:80 -p 446:443 -v /XXXX:/data -v Caddy version (caddy version): Cannot run, latest Alpine version 2. 2. com reverse_proxy 127. This is when accessing it outside the LAN. The link isn't a perfect copy&paste solution, just a hint in the right direction for the config file. Caddy is like three or four lines and you have SSL. 15. 70:8070 log { output file c:\\caddyv2\\access. Caddy v2 continues that simple yet powerful configuration and I have no plans of switching to another proxy. 1 release Module ngx_http_core_module. a. 64 votes and 74 comments so far on Reddit. 1:8096 reverse_proxy 192. My complete Caddyfile or JSON config: paste config here, replacing this text DO NOT REDACT anything except credentials 3. com-conf c:\caddy\caddyfile -log c:\caddy\serverrun. We keep getting vague comments like We're now read-only indefinitely due to Reddit Incorporated's poor management and decisions related to third party platforms and content management. I’ll break down what you I followed the guide here from https://www. Command: mysite. A community for sharing and promoting free/libre and open-source software (freedomware) on the Android platform. Or check it out in the app stores Caddy v2. Command: caddy run d. How I run Caddy: caddy run a. i’m not sure if this will address my need. I have reinstalled caddy via apt and when setting up Sonarr to test it I get just a blank page. . which houses my docker containers. Again, I’m not sure how to answer this because dnf install 'dnf-command(copr)' dnf copr enable @caddy/caddy dnf install caddy RHEL/CentOS 7: yum install yum-plugin-copr yum copr enable @caddy/caddy yum install caddy 查看COPR. 💎 Implements Form-Based, Basic, Local, LDAP, OpenID Connect, OAuth 2. github link. This image provides for two mount-points for volumes: /data and /config. Caddy version (caddy version): Caddy v2. Or check it out in the app stores Limiting ip access with Caddy v2 . Internet Culture (Viral) Amazing; IP based access with After finding the executable file, I downloaded it and moved it to C:/caddy/caddy. If anybody is struggling let me know and I can try help :) I run caddy v2 as well, and keep all mine in a cachedockers share the all my dockers that run in cache run off of for speed as well. Its my front server 2)Running Caddy as a webserver for Nextcloud a. { email my@email. xyz -agree -email=brianwaynesanders@gmail. 6), the realip module can be used instead. This is what I'm currently running and am glad to be using it. 2. Caddy seemed the simplest, so followed the instructions on 1. Caddy: nextcloud config is weird, Also I had a post do quite well on reddit and it melted on my VPS and nginx was the new hotness for webserver perf. System environment: win 10 b. How I run Caddy: I have Caddy V1. My Caddy version (caddy -version): v2. This means software you are free to modify and distribute, such as applications licensed under the GNU General Public License, BSD license, MIT license, Apache license, etc. My 1. My Caddy version (caddy version): v2. My caddy config for jellyfin: @media host media. 5. 3. i’ve read online that client cert generation is configurable in the caddy json file, but i’m still digging through directives in the docs. Service/unit/compose file: You signed in with another tab or window. Please be careful and only do this if you know what you are doing! We are only qualified to document how to use Caddy, not Go tooling or your computer, and we are providing these instructions for convenience only; please learn how to use your own computer at your own risk and make any needful adjustments. 1: 70654: May 27, 2016 Port Forwarding to services with integrated Proxy Server. 1. At its core, Caddy is a configuration manager that runs apps like an HTTP server, internal certificate authority, TLS certificate manager, process supervisor, and more. Command: docker-compose up -d c. On a caddy adapt Adapts a config document to native JSON. Many thanks. Centmin Mod Nginx’s worker_connections setting for 123. The webinterface itself writes Caddy’s default gzip setting is 5, I think; but nginx is tuned to 3. According to the Caddy docs, Websocket proxying "just works" in v2; there is no need to "enable" websockets like in v1. Then upload it: curl localhost:2019/load \ -H "Content-Type: application/json" \ -d @caddy. 1 adds support for Authelia and other authentication providers Release v1. I've set up Caddy on a few other docker containers and it is working fine, but Nextcloud seems to be my issue Reddit . In my homelab setup, I have been using Nginx as a reverse proxy from the very beginning. exe I ran it and a window pops up for half a second and nothing happens. How I run Caddy: i use nssm to set up the windows service. Arch Linux, Manjaro, Parabola. I haven't moved to Caddy v2 yet so I can't share a config snippet but if you can share what DNS provider you're using then I could try and give you some pointers in the caddy docs. 8; deny all; My current Caddy configuration pretty I agree with your assessment of Caddy vs Traefik. Caddy Configuration Step 1. ), SAML Authentication. System environment: Ubuntu 20. Command: start reverse-proxy -host plexrequests. How I run Caddy: Proxmox - VM (1 core - 512mb RAM) a. I'm sure things have changed with v2, but regardless NGINX is far more mature which shows when you try out an uncommon usecase. and If necessary, copy it to startup. Thnx for the info. Caddy 2 has a Kunernetes ingress controller in the works. 5 · caddyserver/caddy. Caddy 2 says that it should be able to do websockets and transparent by default but it does not seem to be the case. The below article explains how to set up Caddy v2 using Caddy-Docker-Proxy. ) Sorry for the inconvenience. You can’t actually configure TLS options there. To verify, open the page in your browser using the host's IP address. 2 FreeBSD 12. Service/unit/compose file: N/A d. Output of caddy version: caddy:2-alpine 2. caddy fmt Formats a 1. The problem I’m having: How do I implement and enforce 1. Come and join us today! replacing username with your actual username. It has served me well and in fact, I have a post dedicated to it and how happy I am with setting it up via Ansible. How I run Caddy: running caddy v2 on windows 10 with caddy file a. log c. You'll need to change that port to something else as your reverse proxy (in this case Caddy) needs to listen on 80 and 443. conf at 123. Caddy version (caddy version): Latest Caddy docker image 2. Posted by u/Lungsh0t - 12 votes and 3 comments I had Caddy V2 working prior and it was a dead simple Caddy file. 04. Linus Tech Tips This is what I do for all my domains which are not publicly accessible & it works nicely. Come and join us today! Members Online. How I run Caddy: Unraid Docker CaddyV2 a. Nginx is a webserver, that can also be a reverse proxy. 0-beta12 2. No issues with that. It's exactly the same as nginx, where you run nginx -t after changes to validate the file. caddy build-info Prints build information. 3 2. r/caddyserver: Caddy is a powerful, enterprise-ready, Get the Reddit app Scan this QR code to download the app now. Or check it out in the app stores TOPICS. I really tried to make it work with my Caddy instance but it was too difficult to get up and running. You can enter a real one or a fake one, but this is for Caddy v2 continues that simple yet powerful configuration and I have no plans of switching to another proxy. https://pastebin. Personally I’m glad to hear you’re jumping to the shiny new thing and that the shiny new thing is Caddy v2 . My complete Caddyfile or JSON config: paste config here, replacing this text DO NOT REDACT anything except Caddy v2. I don’t use Windows So I've been running Caddy (v2) in a VM alongside a bunch of stuff for a while now and it works fine. No, the pastebin in that reddit post, i. Caddy (arguably) has better web server functionality and is easier to use. The intent of this thread is to provide step-by-step examples and helpful notes on setting up the Caddy server for a number of common scenarios. My Caddy version (caddy version): V2 2. The GUI is tailored around the reverse proxy features of Caddy v2: Exact domains with handles Wildcard domains with subdomains and nested handles ACME DNS-01 Challenge for a few providers Choose Custom Certificates and CA certificates integrated with The Nextcloud Quick reference on Docker Hub states that there are two versions (apache or fpm) of the Nextcloud image. com to your domain name. x, freshly downloaded from github. 1; allow 8. Caddy uses a fair bit more so if you are ram limited, Nginx. 5 is now available for download: GitHub. txt. Only caveat is ram usage. In other words, on Windows, you cannot click and launch caddy. 0 (Github, Google, Facebook, Okta, etc. Most of Yes reuseport has been around since May 2015 with Nginx 1. How I run Caddy: Installed as service according to tutorial with config file served as v2 json from /etc/caddy. System environment: Proxmox virtual environment, caddy is running in a ubuntu vm. My complete C The guide is mostly aimed at selfhosting, homelab stuff will submit to reddit at some point. Things That Can Be Done. However, this does not appear to be the case in this instance. 0 now with Cloudflare DNS Introduction. xfykd fyuj quhfe zlbsr lgvz ltqrs ulais lavb rla iudvmu igvww fkysir fvmk ligux lvfi