2020-12-18 20:50:42 +00:00
|
|
|
location /alpine {
|
2020-12-29 19:37:53 +00:00
|
|
|
root /var/lib/alpine-packages;
|
2020-12-18 20:50:42 +00:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|