2
0
docker-skeleton/.templates/nginx/nginx_xport.inc
Kovács Zoltán 31572ffa08 Various bugfixes and minor enhancements
* typo in .templates/nginx/nginx_static.inc
* better ACL comment in .templates/nginx/nginx_xport.inc
* missing dependency and wrong order in storage_gitbackup (MediaWiki, WordPress)
* wrong order in tools/build
* pointless warnings in tools/backup.d/xport_backup.sh
* new info file introduced: services/.ports
2025-05-20 11:44:31 +02:00

21 lines
693 B
PHP

# Includable nginx configuration.
#
# Export backups feature.
# Needs
# setfacl -m u:www-data:r configs/xport_backup
# chmod a-x 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;
}