aports/configs/nginx/modules/alpine.conf

11 lines
338 B
Plaintext

location /alpine {
root /var/lib/alpine-packages;
autoindex on;
auth_basic "RedXen Alpine Package Archive";
auth_basic_user_file /etc/nginx/httpauth-alpine;
rewrite ^/alpine(/.*)$ $1 break;
limit_except GET HEAD {
deny all;
}
}