Jelajahi Sumber

格式调整

zjcqoo 6 tahun lalu
induk
melakukan
097626659b
2 mengubah file dengan 6 tambahan dan 6 penghapusan
  1. 2 2
      run.sh
  2. 4 4
      setup-nginx.sh

+ 2 - 2
run.sh

@@ -2,13 +2,13 @@ NGX_BIN=/home/jsproxy/openresty/nginx/sbin/nginx
 
 # local test
 if [ ! -f $NGX_BIN ]; then
-    NGX_BIN=/usr/local/openresty/nginx/sbin/nginx
+  NGX_BIN=/usr/local/openresty/nginx/sbin/nginx
 fi
 
 CUR_DIR=$(cd `dirname $0` && pwd)
 
 if [ $1 ]; then
-    PARAM="-s $1"
+  PARAM="-s $1"
 fi
 
 $NGX_BIN -c $CUR_DIR/nginx.conf -p $CUR_DIR/nginx $PARAM

+ 4 - 4
setup-nginx.sh

@@ -4,10 +4,10 @@ tar zxvf openresty-*
 cd openresty-*
 
 ./configure \
-	--with-http_v2_module \
-	--with-http_ssl_module \
-	--with-pcre-jit \
-	--prefix=/home/jsproxy/openresty
+  --with-http_v2_module \
+  --with-http_ssl_module \
+  --with-pcre-jit \
+  --prefix=/home/jsproxy/openresty
 
 make
 make install