#!/bin/sh

[ -f /usr/local/var/log/nginx ] || mkdir -p /usr/local/var/log/nginx
[ -f /usr/local/var/run ] || mkdir -p /usr/local/var/run

[ -f /usr/local/etc/nginx/fastcgi.conf ] || cp /usr/local/etc/nginx/fastcgi.conf.default /usr/local/etc/nginx/fastcgi.conf
[ -f /usr/local/etc/nginx/fastcgi_params ] || cp /usr/local/etc/nginx/fastcgi_params.default /usr/local/etc/nginx/fastcgi_params
[ -f /usr/local/etc/nginx/mime.types ] || cp /usr/local/etc/nginx/mime.types.default /usr/local/etc/nginx/mime.types
[ -f /usr/local/etc/nginx/nginx.conf ] || cp /usr/local/etc/nginx/nginx.conf.default /usr/local/etc/nginx/nginx.conf
[ -f /usr/local/etc/nginx/scgi_params ] || cp /usr/local/etc/nginx/scgi_params.default /usr/local/etc/nginx/scgi_params
[ -f /usr/local/etc/nginx/uwsgi_params ] || cp /usr/local/etc/nginx/uwsgi_params.default /usr/local/etc/nginx/uwsgi_params





