603 points · by pradeepchhetri · 5y ago · 41 comments
[1]: https://gist.github.com/jvns/edf78e7775fea8888685a9a2956bc47...
I’d finally had enough of the complex configuration and pain implementing ssl.
No more. Just use caddy.
1. Run Nginx (or OpenResty in my case) in Docker
2. Have the config files in a volume
3. Have a script (Python, Bash or anything else) which watches the config files for changes, then first runs `nginx -s reload` in the Nginx container, and then executes a number of unit tests
For Emacs users there's also an nginx-mode which makes a bit more pleasant to edit the config files.
https://nginx.org/en/docs/http/ngx_http_core_module.html#loc...
Apache at least never oversold its flexibility in this way.
Julia, if you read this: Remarkable work! Based on the comments here, I'm late to the party but I'm glad was bored enough to come here and stumble across this tool and your blog!
this looks really cool as i can't tell you how many times i've blown up our nginx server messing around with the configs. thank god i always copy the original one before.
Julia also did not claim having created CodePen.
I got corrected a while back. The more you know!
Not to just go in the weeds there, just had two days of conference with sessions on the social equity stuff.
And, I don't think anyone on this thread was being intentionally rude.
'He', however, is never referring to a woman. There is no plausible deniability in this case. Let's not play dumb.
> author says that he is pretty bad at javascript but is the dude behind creating codepen. LOL
> - CodePen for CSS/JS/HTML