2019-05-14 09:43:34 +00:00
|
|
|
NGX_BIN=$HOME/openresty/nginx/sbin/nginx
|
2019-04-23 04:14:27 +00:00
|
|
|
CUR_DIR=$(cd `dirname $0` && pwd)
|
|
|
|
|
|
|
|
if [ $1 ]; then
|
2019-04-26 03:13:28 +00:00
|
|
|
PARAM="-s $1"
|
2019-04-23 04:14:27 +00:00
|
|
|
fi
|
|
|
|
|
|
|
|
$NGX_BIN -c $CUR_DIR/nginx.conf -p $CUR_DIR/nginx $PARAM
|