Last active
June 7, 2021 03:35
-
-
Save ryanwoodsmall/6a2c293fe2dc4493c7e3f4d4ed330716 to your computer and use it in GitHub Desktop.
crosware_lighttpd.conf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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