https://caddyserver.com
The cool thing about the caddy is; " you can customize build it for your OSversion and defined various plugins of interest or required ".
Here's a macosx build where I have selected 9 of the available plugins. By hovering over each plugin you can get a summary detail on what that plugin does.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirdjpMFLj9YfxRAoDfNAsLqAkqbrCc_YBLLiISSo87O7T3ZCKzd8wskInVETCcoKclfcnd_6XLwMtiVGO-jvx1IZqiCD5dzokvwq8N6t__3ivzhDAPFH0g1An8Nf0XZ3krbtFJDIuDhp8/s320/caddy.png)
Here's how to check what plugins you have installed in a build binary.
macbook:caddy kfelix$ sudo ./caddy -plugins
Server types:
net
http
Caddyfile loaders:
short
flag
default
Other plugins:
http.basicauth
http.bind
http.browse
http.datadog
http.errors
http.expires
http.expvar
http.ext
http.fastcgi
http.gzip
http.header
http.index
http.internal
http.ipfilter
http.limits
http.log
http.markdown
http.mime
http.nobots
http.pprof
http.proxy
http.proxyprotocol
http.push
http.realip
http.reauth
http.redir
http.request_id
http.rewrite
http.root
http.status
http.templates
http.timeouts
http.webdav
http.websocket
net.host
shutdown
startup
tls
tls.storage.file
A simple caddy conf file can be crafted for defined various webserver details and upon launch you can use cUrl to validate
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7ugekhnCH0SSguJ7Ep_zi2XJWhc2cUCVixgpvU4l2DSwyRNcCIUmSA5Y6jmoXXsP0jEME2pS12FczT_xlofgc0RGGRPngxhhcmlAeiWzKsM6dyk21v44KyrTtzcU22oDsNZFr3qSdNgw/s320/file1.png)
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAhu3VSJTejmwq4W6i6GbHx8_rO6fS-8tRS_q5NzeXVVKIUKvS61E7yEbwW3DewyfsWQO4x6Jt5d_Gq2xGK8-C19LrDo_dKANBahsA7xU3h00LKVnx-KbT5cqzURSFDV0vWOEVbv7ygCA/s320/file2.png)
The above gives a simple example as to what ou can do from defining certificate+key or even custom X headers.
The access.log follows the simple Apache Style
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0xRkCWiCo3yweYJoZCEAZgtH_1D-bt6zkG9fZ589lrbChtIqTzWWwgUksr0bfae-iG_8qQw_5lzmtVuZAdTEZ_YJBEPA0HWIGHCt2TbYM64z1R3E-0kV7cmkBljCVSc5rC13A6RKoqWY/s320/Screen+Shot+2017-08-24+at+12.01.32+AM.png)
If your ever in a crunch and need a simple webserver, do not over look caddyserver
Ken Felix
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYa857d2LFTWbnykeszDF7qcmmlLr0QGtwEAa58XtpyhZNmNSFY-ZE4l6z2Fqrby-TZ-2W5jF0ntf-p7LiwyMNpz1OKwiubJGWkH0TJojWaJWBX6k2I2kOTRys4F7bXhvxgKRfWfBUVSw/s400/Screen+Shot+2016-12-25+at+11.47.40+PM.png)
NSE ( network security expert) and Route/Switching Engineer
kfelix -----a----t---- socpuppets ---dot---com
^ ^
=( @ @ )=
o
/ \
No comments:
Post a Comment