====== Caddy Server ======
===== Notas =====
==== ParĂ¡metro startup ====
He descubierto esta config con el parĂ¡metro ''startup'', toca investigar si hace lo que parece hacer.
localhost:2015 {
startup "go run ./server.go" &
root ./static_files
proxy / localhost:2016
}
==== Caddyfiles ====
=== For wordpress ===
0.0.0.0:80 {
root /srv
gzip
log /var/log/caddy.log
fastcgi / /run/php/php7.0-fpm.sock php
rewrite {
if {path} not_match ^\/wp-admin
to {path} {path}/ /index.php/{uri}
}
}
=== Examples ===
https://github.com/caddyserver/examples