|
|
|
|
|
by tracker1
3453 days ago
|
|
I think it's often easier because most of the nerdy complexities are via a GUI... though the web.config offers a lot more in more recent versions. And adding in Application Request Routing (reverse-proxy) and the like can get complicated quickly, it's not nearly as bad as either nginx or apache tend to be. I do like what nginx can do combined with lua though, it's pretty damned cool. All in all, I do like Caddy's defaults and out of the box for newer tech. I haven't really tried it much, mostly out of complacency with nginx/iis in Linux/windows. And I will definitely never run Apache on a new box again. |
|
Getting back to Caddy, configuration is so simple, a GUI would be overkill.
Here's an (entire) example of how to configure a reverse proxy in Caddy...
The "except" line is a list of files and directories that are statically served by Caddy.All other content comes from a local server on port 8080.
The "proxy_header" line lets the 2nd server know when contents are being sent as secured (HTTPS)
Isn't that nice? I think so.