Skip to content

Commit

Permalink
refactor: nginx add gzip
Browse files Browse the repository at this point in the history
  • Loading branch information
U-JOHNLIU\jonhl committed Jan 18, 2022
1 parent 11a2d58 commit 2ce3cdf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dgiot_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1014,7 +1014,7 @@ function build_nginx() {
cd ${script_dir}/nginx-1.20.1
./configure --prefix=/data/dgiot/nginx --with-http_realip_module --with-http_ssl_module --with-http_gzip_static_module &> /dev/null
make &> /dev/null
make install &> /dev/nulldddddddd
make install &> /dev/null

if [ ! -f ${script_dir}/nginx.conf ]; then
wget $fileserver/nginx.conf -O ${script_dir}/nginx.conf &> /dev/null
Expand Down Expand Up @@ -1181,7 +1181,7 @@ function post_build_dgiot() {
}

function devops() {
build_dashboard
# build_dashboard
pre_build_dgiot
make
post_build_dgiot
Expand Down

0 comments on commit 2ce3cdf

Please sign in to comment.