mirror of
https://github.com/EtherDream/jsproxy
synced 2024-11-21 17:37:58 +00:00
9 lines
169 B
Bash
Executable File
9 lines
169 B
Bash
Executable File
NGX_BIN=$HOME/openresty/nginx/sbin/nginx
|
|
CUR_DIR=$(cd `dirname $0` && pwd)
|
|
|
|
if [ $1 ]; then
|
|
PARAM="-s $1"
|
|
fi
|
|
|
|
$NGX_BIN -c $CUR_DIR/nginx.conf -p $CUR_DIR/nginx $PARAM
|