#caddyserver

2025-12-20

Can't quite figure out if #caddyserver itself or my bad understanding of its #json API are my painpoint, but feking grrrrrrr I'm sick of it.

Edit!
And now the twist - its #python mangling my otherwise valid data in flight! At least now I know what to debug.

Adhidarma Hadiwinoto :verify:adhisimon@kodesumber.com
2025-12-14

@semurjengkol oalah, sama-sama #reverseproxy favorit kita ternyata #caddyserver

#Caddy looks pretty neat caddyserver.com/

I found out about it reading the #JellyFin docs. Hecka neat.

#CaddyServer #GoLang

2025-12-05

#Automad v2 und Caddy laufen gut. Ich bin ein Freund von #Caddyserver.

Server Software Caddy/v2.10.2
PHP Version 8.3.6
PHP Sapi fpm-fcgi
Memory Limit 128M
Disk Usage 13.28M / 2048M

2025-11-28

*Borat voice*GREAT SUCCESS

This test is done on the caddy system so I have direct access to the CA.
```
root@caddy-testing:~# openssl genpkey -algorithm RSA -out client.key
root@caddy-testing:~# openssl req -new -key client.key -out client.csr
[fill in fields]
root@caddy-testing:~# openssl x509 -req -in client.csr -CA ./.local/share/caddy/pki/authorities/local/root.crt -CAkey ./.local/share/caddy/pki/authorities/local/root.key -CAcreateserial -out client.crt -days 365 -sha256
root@caddy-testing:~# openssl x509 -in client.crt -outform der | base64 |tr -d '\n' && echo ''
```

Test without certificate:
```
root@caddy-testing:~# curl https://10.125.216.164:2019/config ; echo $?
curl: (56) OpenSSL SSL_read: OpenSSL/3.5.4: error:0A00045C:SSL routines::tlsv13 alert certificate required, errno 0
56
```

with certificate:
```
root@caddy-testing:~# curl -L --cert client.crt --key client.key https://10.125.216.164:2019/config
{"admin":{"config":{"persist":true},"disabled":false,"identity":{"identifiers":["caddy-testing.incus","10.125.216.164"], etc etc]
``

Generating TLS auth certificate for authentication in #caddyserver #API working. Its the standard x509 stuff, I just hadn't found someone that said that and I spent a long time twisting myself in knots.

2025-11-27

Hi #caddyserver people
Is there an idiots guide to making #caddy #API compatible public keys?

caddyserver.com/docs/json/admi

caddy.community/t/separation-o mentions using `openssl` to output the magic string, but not what sort of `cert-file` it expects to be fed.

I assume I should be generating a key and signing request locally then signing on the caddy side - is that actually the case?

Kazuky Akayashi ฅ^•ﻌ•^ฅKazukyAkayashi@social.zarchbox.fr
2025-11-17

Bon on peut pas faire sans xcaddy ...

#Caddy #CaddyServer

Kazuky Akayashi ฅ^•ﻌ•^ฅKazukyAkayashi@social.zarchbox.fr
2025-11-17

Du coup je suis preneur d'une solution (si elle existe) sans xcaddy pour remplacer ça

ipfilter / {
	rule allow
	database /data/GeoLite.mmdb
	country FR
}

#Caddy #CaddyServer

2025-11-04

I don't like to serve 404 or 403 errors (unless the 403 is a RickRoll).

The below pie chart shows the last 1000 errors hitting my #Caddyserver and what people are trying to do.

Some look to trigger the Exchange Exporttool, some look for s3cmd.ini and some look for server status/phpinfo.

The clever ones look for rar/zip files or comb my databases to steal my data.

They all get *something* back - after a short delay, of course 😂

Database Enumeration, 259
Exchange Attack, 260
Config/Secrets, 79
Backup/Archive, 151
Java/Atlas Exploit, 38
AWS S3 Bucket exploit, 5
Server Info Leak, 208
R1 Open Source Projectr1os@bsd.cafe
2025-11-02
2025-10-29

So, I’ve just replaced #nginx with #caddyserver thanks to @theseer for the talk/workshop at #ipc #phpconference

Added bonus: the config file is 10 lines long and is for two hosts, one acting as a reverse proxy. This is brilliant.

chris@strafpla.netchris@strafpla.net
2025-10-23

Again and again and for years: Updating a small #mastodon instance that is hosted in docker (and behind #caddyserver) has been very very painless. If you consider setting up a small instance, consider to use #docker.

#Mastoadmin
mastodon.social/@MastodonEngin

Dwihsardwihsar
2025-10-17

warum hab ich nicht schon früher entdeckt? Echt nices kleines Tool wo ein Reverse Proxy quasi zum zwei Zeiler wird

2025-09-21

How to only allow loopback addresses to access the path /metrics, in Caddy.

#Caddy #Caddy2 #CaddyServer

Terminal screenshot of the following config snippet:

@nonlocal_metrics {
    not remote_ip 127.0.0.0/8 ::1
    path /metrics
}

error @nonlocal_metrics 403
2025-09-14

I saw gets on my #caddyserver for zip and rar files. In the spirit of avoiding errors, I serve up "files" in the browser for them.....

🤣

Random noise of a rar file 👍🏻
2025-08-12

I just added a custom caddy build with the cache handler in front of my `file_server`, which increased the response performance by 50%. Crazy!

#caddy #CaddyServer

2025-08-09

Take back control: secure and private self-hosting on Debian with SSH keys, an ufw firewall and a robust fail2ban configuration. Use Docker and Caddy as a reverse proxy to securely provide your self-hosted services.

Step-by-step, minimal, and practical.

lukasrotermund.de/posts/simple

#SelfHosting #Privacy #Linux #Debian #Docker #DockerCompose #CaddyServer #Caddy #ReverseProxy #Security #Webhosting #Server #Hosting

Elias Probst 39C3Ticket wantedeliasp
2025-07-25

@gewt move to and there won't be a need for anymore, since it comes with built-in support and all tools and knobs one could wish for.

It comes with many sane defaults and thereby allows to run quite complex setups - yet only requiring very minimal configs.

caddyserver.com/

Scott Williams 🐧vwbusguy@mastodon.online
2025-07-14

I have again tried and failed to get my #Nextcloud server to be happy with #caddyserver. It seems others have gotten pretty URLs with a subdomain to work and I got it sort of half-working, in that it's showing a nextcloud page, but with no CSS and an otherwise page not found.

My current ISP blocks port 80, so I have to use dns-01 with apache, which is one of those things that isn't great if I were to abruptly kick the bucket and my wife would eventually lose access to our server.

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst