2004-10-21 17:54:45 +00:00
|
|
|
@comment $FreeBSD$
|
2006-06-30 12:45:38 +00:00
|
|
|
etc/nginx/fastcgi_params
|
|
|
|
etc/nginx/koi-utf
|
2004-12-07 09:07:43 +00:00
|
|
|
etc/nginx/koi-win
|
2006-06-30 12:45:38 +00:00
|
|
|
etc/nginx/win-utf
|
2004-10-21 17:54:45 +00:00
|
|
|
@unexec if cmp -s %D/etc/nginx/mime.types %D/etc/nginx/mime.types-dist; then rm -f %D/etc/nginx/mime.types; fi
|
|
|
|
etc/nginx/mime.types-dist
|
|
|
|
@exec [ -f %B/mime.types ] || cp %B/%f %B/mime.types
|
|
|
|
@unexec if cmp -s %D/etc/nginx/nginx.conf %D/etc/nginx/nginx.conf-dist; then rm -f %D/etc/nginx/nginx.conf; fi
|
|
|
|
etc/nginx/nginx.conf-dist
|
|
|
|
@exec [ -f %B/nginx.conf ] || cp %B/%f %B/nginx.conf
|
2006-01-22 03:01:03 +00:00
|
|
|
@dirrmtry etc/nginx
|
2004-11-11 14:52:40 +00:00
|
|
|
%%WWWDATA%%@exec mkdir -p -m 755 www/nginx-dist
|
2004-10-21 17:54:45 +00:00
|
|
|
@comment @unexec chmod u+w www/nginx-dist
|
2004-11-11 14:52:40 +00:00
|
|
|
%%WWWDATA%%www/nginx-dist/EXAMPLE_DIRECTORY-DONT_ADD_OR_TOUCH_ANYTHING
|
|
|
|
%%WWWDATA%%@exec [ -d %D/www/nginx/ ] || ln -fs %B %D/www/nginx
|
|
|
|
%%WWWDATA%%www/nginx-dist/index.html
|
2006-06-30 12:45:38 +00:00
|
|
|
%%WWWDATA%%www/nginx-dist/50x.html
|
2004-11-11 14:52:40 +00:00
|
|
|
%%WWWDATA%%@exec chmod a-w www/nginx-dist
|
|
|
|
%%WWWDATA%%@unexec if [ -L %D/www/nginx ]; then rm -f %D/www/nginx; fi
|
|
|
|
%%WWWDATA%%@dirrm www/nginx-dist
|
2004-12-07 09:07:43 +00:00
|
|
|
sbin/nginx
|
2006-05-10 09:55:02 +00:00
|
|
|
@exec [ -d %%NGINX_TMPDIR%% ] || mkdir -p %%NGINX_TMPDIR%%
|
|
|
|
@exec chown %%WWWOWN%%:%%WWWGRP%% %%NGINX_TMPDIR%%
|
|
|
|
@unexec rm -fr %%NGINX_TMPDIR%%
|