Page MenuHomeDevCentral

/usr/local/etc/nginx/includes/poudriere-poudriere.conf
ActivePublic

Authored by dereckson on Nov 27 2014, 07:18.
Tags
None
Referenced Files
F341: usr_local_etc_nginx_includes_poudriere-poudriere.conf
Nov 27 2014, 07:18
Subscribers
None
location /poudriere {
alias /usr/local/share/poudriere/html;
location ~* ^.+\.(jpg|jpeg|gif|png|ico|svg|woff|css|js|html)$ {
add_header Cache-Control "public";
expires 2d;
}
location /poudriere/data {
alias /usr/local/poudriere/data/logs/bulk/;
location ~* ^.+\.(log|txz|tbz|bz2|gz)$ {
add_header Cache-Control "public, must-revalidate, proxy-revalidate";
}
location ~* ^.+\.(json)$ {
add_header Cache-Control "public, must-revalidate, proxy-revalidate";
access_log off;
log_not_found off;
}
location ~ /data/?.*/(logs|latest-per-pkg)/ {
autoindex on;
}
break;
}
location /poudriere/repo {
alias /usr/local/poudriere/data/packages;
}
}

Event Timeline

dereckson changed the title of this paste from untitled to /usr/local/etc/nginx/includes/poudriere-poudriere.conf.
dereckson updated the paste's language from autodetect to autodetect.