Tar gz shenanigans in a location
sven falempin
sven.falempin at gmail.com
Thu Sep 22 15:04:15 UTC 2016
Nginx readers,
i have a webdav like server that serv files, and access it through nginx,
it is actually a subversion repo, so the files (and directory) are listed
in an
ugly html page, not recursively.
/directory/files1
/directory/files2
[..]
I am fishing for ideas to do something like
location /directroy.tar.gz {
return tar_ball /directory/*;
}
which would do tar czvf - /directory/*
Of course this assume i wold somehow get the file list first ...
Please share clever ideas
--
---------------------------------------------------------------------------------------------------------------------
() ascii ribbon campaign - against html e-mail
/\
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20160922/ac4cd665/attachment.html>
More information about the nginx
mailing list