nginx-configs/common/mirror.conf

17 lines
389 B
Plaintext

add_header Onion-Location http://mirror.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
root /var/mirror/mirror;
ssi on;
location / {
add_before_body /nav.html;
fancyindex on;
fancyindex_exact_size off;
fancyindex_default_sort date;
}
location /gnu {
add_before_body /gnu.html;
fancyindex on;
fancyindex_exact_size off;
fancyindex_default_sort date;
}