Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 08 Sep 2016 09:20:33 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 208583] www/nginx: Prevent uninstallation breaking user symlink for /var/www/nginx
Message-ID:  <bug-208583-13-plH2yqs8wz@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-208583-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-208583-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208583

Vladimir Krstulja <vlad-fbsd@acheronmedia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|www/nginx: prevent port     |www/nginx: Prevent
                   |breaking user symlink       |uninstallation breaking
                   |                            |user symlink for
                   |                            |/var/www/nginx
             Status|New                         |Open
           Severity|Affects Only Me             |Affects Some People
           Keywords|                            |easy, needs-patch, patch
           Assignee|osa@FreeBSD.org             |freebsd-ports-bugs@FreeBSD.
                   |                            |org
                 CC|                            |osa@FreeBSD.org,
                   |                            |vlad-fbsd@acheronmedia.com

--- Comment #1 from Vladimir Krstulja <vlad-fbsd@acheronmedia.com> ---
Maintainer timeout, back to pool.

Personally, I don't understand why is /var/www/nginx even used like that, i=
f it
symlinks to nginx-dist by default. The default config maps "localhost" docr=
oot
to /var/www/nginx, which is then a symlink to nginx-dist, which contains the
warning not to touch or change anything. So what's the point?

If you ask me, I'd use only nginx-dist, as a default "localhost" docroot wi=
th
that warning kept, and with the "Welcome to nginx" default index.html.

The users should be advised not to use that dir for any purpose, but to cha=
nge
the docroot to whatever else, unless they're okay with default index being
present for default "localhost" docroot. They're free to copy over whatever
default file from nginx-dist and manage their own docroots.

Flagging with needs-patch too, as I believe above to be the best solution. =
Will
also need one for www/nginx-devel.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-208583-13-plH2yqs8wz>