blob: c01b60214596e94b3f1052677c69c64fc6ee70d9 (
plain)
1
2
3
4
5
6
7
|
#!/bin/sh
cd "`dirname $0`"
touch nginx.gen.conf
if nginx -V 2>&1 | grep -q -- --with-http_gzip_static_module; then
echo "gzip_static on" >> nginx.gen.conf
fi
exec nginx -p "$PWD" -c nginx.conf
|