aports/config/nginx/module/alpine.conf

19 lines
467 B
Plaintext

server {
listen *:7574 so_keepalive=on;
listen [::]:7574 so_keepalive=on;
location / {
root /var/lib/alpine-packages;
autoindex on;
limit_except GET HEAD {
deny all;
}
location /redxen {
auth_basic "RedXen Alpine Package Archive";
auth_basic_user_file /etc/redxen/alpinepkg-httpauth/passwdfile;
}
}
}