2
0
docker-skeleton/.templates/nginx/nginx_xport.inc
Kovács Zoltán 449a5012a9 Minor improvements
* 110-startlogs.sh no longer repeats existing log lines.
* Added a missing ACL suggestion in nginx_xport.inc
2025-03-31 12:05:01 +02:00

20 lines
661 B
PHP

# Includable nginx configuration.
#
# Export backups feature.
# Needs
# setfacl -m u:www-data:r [...]/configs/xport_backup
# setfacl -m u:www-data:rx [...]/storage/backups
# setfacl -m u:www-data:rx [...]/storage/backups/export
# setfacl -d -m u:www-data:r [...]/storage/backups/export
# ACLs.
location /export {
root $PAR_SERVICE/storage/backups;
auth_basic "Export backups area";
auth_basic_user_file $PAR_SERVICE/configs/xport_backup;
allow all;
autoindex on;
autoindex_exact_size off;
autoindex_format html;
autoindex_localtime on;
}