Added mod_rewrite for nginx module
This commit is contained in:
20
build
Normal file
20
build
Normal file
@@ -0,0 +1,20 @@
|
||||
#!/bin/bash
|
||||
|
||||
cd nginx-1.25.3
|
||||
make clean
|
||||
./configure --with-compat --add-dynamic-module=../modules/mod_rewrite --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --modules-path=/etc/nginx/modules --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --pid-path=/var/run/nginx.pid --lock-path=/var/run/nginx.lock --http-client-body-temp-path=/var/lib/nginx/body --http-proxy-temp-path=/var/lib/nginx/proxy --http-fastcgi-temp-path=/var/lib/nginx/fastcgi --http-uwsgi-temp-path=/var/lib/nginx/uwsgi --http-scgi-temp-path=/var/lib/nginx/scgi --with-http_ssl_module --with-http_v2_module --with-http_realip_module --with-http_gzip_static_module --with-http_stub_status_module --with-http_slice_module --with-http_dav_module --with-http_auth_request_module --with-http_secure_link_module --with-stream --with-stream_ssl_module --with-stream_realip_module --with-stream_ssl_preread_module --with-pcre-jit --with-debug
|
||||
if [ $? -ne 0 ]; then
|
||||
cd ..
|
||||
exit 1
|
||||
fi
|
||||
make modules
|
||||
if [ $? -ne 0 ]; then
|
||||
cd ..
|
||||
exit 1
|
||||
fi
|
||||
make install
|
||||
if [ $? -ne 0 ]; then
|
||||
cd ..
|
||||
exit 1
|
||||
fi
|
||||
cd ..
|
||||
Reference in New Issue
Block a user