News for hackers. Stuff that matters.
Re:Modern PHP by mholt on Sunday March 27, 2022 @01:22PM (#30822028)
This is valuable feedback, thank you. A lot of people just say that the docs suck and we can't do anything about that. This is more helpful. I'll see what we can do to improve cohesiveness and clarity/accessibility.
Re:Modern PHP by InvaderFizz on Monday March 28, 2022 @12:21AM (#30827119)
FWIW, I'm very comfortable with nginx, but preferred something with Acme built in.

What I struggled with most in setting up things with caddy was the context for a config statement.

I could usually find the config parameters I needed, but I had no idea at what level of nesting it was and in what context it was used.

I would have found it incredibly useful to have a reference caddyfile for every parameter so I could see it used in context and then just strip that reference file down to what I need and go from there.

In the end, I just went back to nginx and dealt with Let's Encrypt myself since that was what I was most comfortable with and decided learning this new thing wasn't worth the benefit at that moment for the specific project. I'll probably revisit it later this year.

Re:Modern PHP by mholt on Monday March 28, 2022 @01:13AM (#30827341)
Did this page help? https://caddyserver.com/docs/caddyfile/concepts - it explains the structure of the Caddyfile, what directives are, and goes from there.
Re:Modern PHP by unfocussed_mike on Sunday March 27, 2022 @01:31PM (#30822122)
Thanks -- I'm glad it didn't come across too whiny, because to be honest you've saved me from so much HTTPS pain so far I really will put up with a _lot_! :-)