Skip to content

Instantly share code, notes, and snippets.

@khera
khera / lighttpd.conf.sample
Last active August 29, 2015 14:02
lighttpd configuration for poudriere (development version as of today)
$HTTP["host"] == "pkg.kcilink.com" {
server.document-root = "/usr/local/share/poudriere/html"
alias.url = ( "/data" => "/usr/local/poudriere/data/logs/bulk",
"/packages" => "/usr/local/poudriere/data/packages"
)
# Allow caching dynamic files but ensure they get rechecked
$HTTP["url"] =~ "\.(log|txz|tbz|bz2|gz|json)$" {
setenv.add-response-header += ("Cache-Control" => "public, must-revalidate, proxy-revalidate")
@khera
khera / nginx-ssl-proxy.conf
Created March 17, 2014 16:44
nginx configuration file to act as SSL proxy when using with slack-hubot integration.
user httpd;
worker_processes 2;
#error_log logs/error.log;
#error_log logs/error.log notice;
#error_log logs/error.log info;
#pid logs/nginx.pid;
events {