Today I tried to run the upgrade my nginx on my FreeBSD box, and I received the following message:
===> Vulnerability check disabled, database not found ===> License accepted by the user ===> Found saved configuration for nginx-0.7.66 => ngx-fancyindex-0.2.2.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch from http://connectical.com/attachments/download/26/. fetch: http://connectical.com/attachments/download/26/ngx-fancyindex-0.2.2.tar.bz2: Not Found => Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/. fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/ngx-fancyindex-0.2.2.tar.bz2: File unavailable (e.g., file not found, no access) => Couldn't fetch it - please try to retrieve this => port manually into /usr/ports/distfiles/ and try again.
Obviously, the FreeBSD box could not download the file. To fix this problem, simply run the following commands:
sudo wget http://files.connectical.com/gentoo/ngx-fancyindex-0.2.2.tar.bz2
This will allow FreeBSD to skip downloading the file from a wrong URL. Now, go back to the nginx port:
and try to install nginx again:
sudo make install clean