# This is a minimal example config # See /usr/share/doc/lighttpd # and https://wiki.lighttpd.net/Docs:ConfigurationOptions server.username = "http" server.groupname = "http" server.document-root = "/srv/http" dir-listing.activate = "enable" index-file.names = ( "index.html" ) server.modules += ( "mod_simple_vhost", "mod_openssl", "mod_access", "mod_accesslog", "mod_cgi" ) server.errorlog = "/srv/http/log/errores.log" accesslog.filename = "/srv/http/log/accesos.log" # Configuracion para calupoh.dev $SERVER["socket"] == ":443" { # Datos de certificado ssl.engine = "enable" ssl.pemfile = "/srv/http/calupoh.dev/ssl/calupoh.dev_cer_key.pem" # Datos del VHost simple-vhost.server-root = "/srv/http/" simple-vhost.default-host = "calupoh.dev" simple-vhost.document-root = "web" } # CGI cgi.assign = ( ".php" => "/usr/bin/php-cgi", ".fossil" => "/usr/bin/fossil" )