[Bug 208583] www/nginx: Prevent uninstallation breaking user symlink for /var/www/nginx

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Sep 8 09:20:33 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208583

Vladimir Krstulja <vlad-fbsd at 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 at FreeBSD.org             |freebsd-ports-bugs at FreeBSD.
                   |                            |org
                 CC|                            |osa at FreeBSD.org,
                   |                            |vlad-fbsd at acheronmedia.com

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

Personally, I don't understand why is /var/www/nginx even used like that, if it
symlinks to nginx-dist by default. The default config maps "localhost" docroot
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 with
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 change
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.

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


More information about the freebsd-ports-bugs mailing list