1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/www/nginx/pkg-plist
John Marino ef1a4679e2 www/nginx: Change default log locations to avoid /var/log pollution
The nginx error log default will always be touched regardless of the value
of the error_log directive in nginx.conf.  This is not a bug.  It also
breaks shell tab completion for the sane default of /var/log/nginx.

This change aligns the compiled-in default and the configuration default
of error log to a new default /var/log/nginx directory.

PR:		195916
Approved by:	maintainer timeout (15 months)
2016-09-06 13:57:38 +00:00

20 lines
833 B
Plaintext

@sample %%ETCDIR%%/fastcgi_params-dist %%ETCDIR%%/fastcgi_params
%%ETCDIR%%/koi-utf
%%ETCDIR%%/koi-win
@sample %%ETCDIR%%/scgi_params-dist %%ETCDIR%%/scgi_params
@sample %%ETCDIR%%/uwsgi_params-dist %%ETCDIR%%/uwsgi_params
%%ETCDIR%%/win-utf
@sample %%ETCDIR%%/mime.types-dist %%ETCDIR%%/mime.types
@sample %%ETCDIR%%/nginx.conf-dist %%ETCDIR%%/nginx.conf
%%WWWDATA%%@exec mkdir -p -m 755 %D/www/nginx-dist
%%WWWDATA%%@exec if [ ! -d %D/www/nginx/ ] ; then ln -fs %D/www/nginx-dist %D/www/nginx; fi
%%WWWDATA%%www/nginx-dist/EXAMPLE_DIRECTORY-DONT_ADD_OR_TOUCH_ANYTHING
%%WWWDATA%%www/nginx-dist/index.html
%%WWWDATA%%www/nginx-dist/50x.html
%%WWWDATA%%@exec chmod a-w %D/www/nginx-dist
%%WWWDATA%%@unexec if [ -L %D/www/nginx ]; then rm -f %D/www/nginx; fi
sbin/nginx
@dir %%NGINX_TMPDIR%%
@dir %%NGINX_LOGDIR%%
man/man8/nginx.8.gz