# Directory to chroot chroot "/var/www" # MIME types include "/etc/mimetypes" default type text/plain server "suragu.net" { # For darknets alias loquesea.onion listen on 10.100.0.2 port 1341 # Cualquier puerto que no sea el 80 listen on ::1 port 1341 # Default log format log style forwarded errdocs "/sites/suragu.net/errdocs" gzip-static root "/sites/suragu.net" directory index "index.html" # Soporte de scripts CGI location match "/*.cgi" { fastcgi } # Soporte de scripts PHP # Requiere el paquete "php" location match "*.php" { fastcgi socket "/var/www/run/php-fpm.sock" } }