Skip to content

Instantly share code, notes, and snippets.

@ryanwoodsmall
Last active June 7, 2021 03:35
Show Gist options
  • Save ryanwoodsmall/6a2c293fe2dc4493c7e3f4d4ed330716 to your computer and use it in GitHub Desktop.
Save ryanwoodsmall/6a2c293fe2dc4493c7e3f4d4ed330716 to your computer and use it in GitHub Desktop.
crosware_lighttpd.conf
server.document-root = "/usr/local/crosware"
server.port = 80
dir-listing.activate = "enable"
server.modules += ("mod_mbedtls")
$SERVER["socket"] == ":443" {
ssl.engine = "enable"
ssl.pemfile = "/usr/local/crosware/tmp/cert.pem"
ssl.privkey = "/usr/local/crosware/tmp/key.pem"
}
server.modules += ("mod_status")
status.status-url = "/server-status"
server.modules += ("mod_alias")
server.modules += ("mod_cgi")
$HTTP["url"] =~ "^/cgi-bin" {
cgi.assign = ( "" => "" )
}
server.modules += ("mod_webdav")
$HTTP["url"] =~ "^/tmp($|/)" {
webdav.activate = "enable"
webdav.is-readonly = "disable"
webdav.sqlite-db-name = "/usr/local/crosware/tmp/webdav.db"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment