The configuration file was not loaded during this update. I believe this should be documented in UPDATING. You must execute one of the following commands. cd /usr/local/etc/nginx/ ; ln -s nginx.conf freenginx.conf sysrc required_files=/usr/local/etc/nginx/nginx.conf bug #286607
Created attachment 264827 [details] nginx.in.patch There was a slight error. The specified directory in configure is not consistent with the rc.d scripts. It appears that the section where %%ETCDIR%% should be used instead of %%PREFIX%% has not been updated. files/nginx.in
The update procedure after applying the nginx.in patch is as follows. Of course, backing up nginx.conf is essential. pkg delete www/freenginx mv /usr/local/etc/nginx /usr/local/etc/freenginx cd /usr/ports/www/freenginx make install service nginx restart
Created attachment 265439 [details] nginx.in.patch ^Triage: rebase patch.
Created attachment 265474 [details] freenginx-1.29.3.patch required_files directory optimization Patch updated for 1.29.3
(In reply to takefu from comment #4) freenginx-devel is already at 1.29.3 This is about freenginx, and 1.28.0 is correct.
(In reply to Jochen Neumeister from comment #5) I had completely forgotten about the existence of -devel. ``files/nginx.in'' Please fix this file change during the next major update.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=220ba8ebf46b2b5b2a9dc4d91169c0e5a9d5f211 commit 220ba8ebf46b2b5b2a9dc4d91169c0e5a9d5f211 Author: Takefu <takefu@airport.fm> AuthorDate: 2026-05-26 07:44:59 +0000 Commit: Jochen Neumeister <joneum@FreeBSD.org> CommitDate: 2026-05-26 07:44:59 +0000 www/freenginx: fix rc script required_files path Use %%ETCDIR%%/nginx.conf in the rc script instead of the obsolete hardcoded %%PREFIX%%/etc/nginx/freenginx.conf path. The port is configured with: --prefix=/usr/local/etc/freenginx --conf-path=/usr/local/etc/freenginx/nginx.conf The previous required_files setting no longer matched the actual configuration file location and could prevent the service from starting after installation or upgrade. PR: 290461 Sponsored by: Netzkommune GmbH www/freenginx/files/nginx.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)