server {
    listen 80 default_server;
    listen [::]:80 default_server;
    server_name _;
    root /srv/mirror;
    autoindex on;
    charset utf-8;
    # serve the package trees; directory listing on so clients/humans can browse
    location / {
        try_files $uri $uri/ =404;
    }
}
