projects
/
matthijs
/
servers
/
drsnuggles.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lighttpd: Update SSL configs
[matthijs/servers/drsnuggles.git]
/
etc
/
lighttpd
/
vhosts
/
stdout-nl
diff --git
a/etc/lighttpd/vhosts/stdout-nl
b/etc/lighttpd/vhosts/stdout-nl
index 64956e5cea833007afa6b9dc37b14357aa1b4f39..5d6a971630a48f58ab94ffe0aa53a72f7c1183e0 100644
(file)
--- a/
etc/lighttpd/vhosts/stdout-nl
+++ b/
etc/lighttpd/vhosts/stdout-nl
@@
-3,7
+3,6
@@
$HTTP["host"] =~ ".stdout.nl$" {
var.site-fcgi-dir = var.fcgi-dir + "/stdout-nl"
evhost.path-pattern = var.site-dir + "/htdocs/%3/"
var.site-fcgi-dir = var.fcgi-dir + "/stdout-nl"
evhost.path-pattern = var.site-dir + "/htdocs/%3/"
- accesslog.filename = var.site-dir + "/logs/access.log"
fastcgi.server = ( ".php" =>
((
fastcgi.server = ( ".php" =>
((
@@
-11,12
+10,24
@@
$HTTP["host"] =~ ".stdout.nl$" {
))
)
))
)
- $HTTP["host"] == "mail.stdout.nl" {
- alias.url += ( "/squirrel" => "/usr/share/squirrelmail" )
+ }
- # Only expose parts of the hastymail directory
- $HTTP["url"] =~ "^/hastymail(|/index.php|/templates|/js|/plugins|/images)(|/.*)$" {
- alias.url += ( "/hastymail" => var.site-dir + "/applications/hastymail2" )
- }
+ $HTTP["url"] =~ "^/static/tmp/" {
+ # Enable dirlistings for /tmp
+ server.dir-listing = "enable"
}
}
+
+ $HTTP["url"] =~ "^/beef/" {
+ auth.backend = "htpasswd"
+ auth.backend.htpasswd.userfile = var.site-dir + "/conf/beef.user"
+
+ auth.require = (
+ "/" => (
+ "method" => "basic",
+ "realm" => "Beef",
+ "require" => "valid-user"
+ )
+ )
+ }
+
}
}