﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	uname	nginx_version
1198	debian postrm script deletes log folder	vlajos@…	thresh	"Hi,

I played a bit with the ""official"" debian package and realised that when I removed it, it removed the whole /var/log/nginx directory. (The debian packages don't do this.)
I think this is a bit dangerous...
(Otherwise maybe it would worth considering converging the debian scripts between debian and upstream, but I guess this is a bigger task.)

You can double check it here:
http://nginx.org/packages/debian/pool/nginx/n/nginx/nginx_1.10.3-1~jessie.debian.tar.xz

nginx.postrm:
``
    remove)
        rm -rf /var/cache/nginx /var/log/nginx
        ;;
``
Thank you!

Best regards,
Lajos Veres"	enhancement	closed	minor		other	1.10.x	fixed	debian	nginx@…	not relevant	not relevant
