Welcome! Log In Create A New Profile

Advanced

Tar gz shenanigans in a location

zvn
September 22, 2016 11:06AM
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
/\
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Tar gz shenanigans in a location

zvn September 22, 2016 11:06AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 241
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready