Page MenuHomeDevCentral

usr_local_etc_nginx_includes_poudriere-poudriere.conf

Authored By
dereckson
Nov 27 2014, 07:18
Size
1021 B
Referenced Files
None
Subscribers
None

usr_local_etc_nginx_includes_poudriere-poudriere.conf

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;
}
}

File Metadata

Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
334
Default Alt Text
usr_local_etc_nginx_includes_poudriere-poudriere.conf (1021 B)

Event Timeline