aports/configs/nginx/modules/alpine.conf

11 lines
338 B
Plaintext
Raw Normal View History

location /alpine {
2020-12-29 19:37:53 +00:00
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;
}
}