summaryrefslogtreecommitdiffhomepage
path: root/nginx
diff options
context:
space:
mode:
Diffstat (limited to 'nginx')
-rw-r--r--nginx/Makefile8
-rw-r--r--nginx/nginx.conf6
2 files changed, 7 insertions, 7 deletions
diff --git a/nginx/Makefile b/nginx/Makefile
index d14e24f..b36baf5 100644
--- a/nginx/Makefile
+++ b/nginx/Makefile
@@ -5,19 +5,19 @@ VERSION=1.27.3
5all: src /home/pham/git/ngx_http_proxy_connect_module 5all: src /home/pham/git/ngx_http_proxy_connect_module
6 cd $< 6 cd $<
7 patch -p1 </home/pham/git/ngx_http_proxy_connect_module/patch/proxy_connect_rewrite_102101.patch 7 patch -p1 </home/pham/git/ngx_http_proxy_connect_module/patch/proxy_connect_rewrite_102101.patch
8 ./configure
9 nginx -V |& \ 8 nginx -V |& \
10 sed -nE 's/^configure arguments: ([^\n]*)$$/\1/p' | \ 9 sed -nE 's/^configure arguments: ([^\n]*)$$/\1/p' | \
11 sed -nE 's/([^'"'"' \t\n]+('"'"'([^'"'"'\]|\\'"'"'?)*'"'"'|"([^"\\]|\\"?)*")?) ?/\1\n/gp' | \ 10 sed -nE 's/([^'"'"' \t\n]+('"'"'([^'"'"'\]|\\'"'"'?)*'"'"'|"([^"\\]|\\"?)*")?) ?/\1\n/gp' | \
12 xargs ./configure \ 11 xargs ./configure \
13 --add-module=/home/pham/git/ngx_http_proxy_connect_module 12 --sbin-path=/usr/bin/nginx \
13 --conf-path=/etc/nginx/nginx.conf \
14 --add-module=/home/pham/git/ngx_http_proxy_connect_module \
14 --with-http_dav_module \ 15 --with-http_dav_module \
15 --with-http_image_filter_module \ 16 --with-http_image_filter_module \
16 # --with-http_xslt_module=dynamic \ 17 --with-http_xslt_module
17 make modules 18 make modules
18 make 19 make
19 sudo make install 20 sudo make install
20 cd .. && rm -rf src
21 sudo ln -sf `pwd`/nginx.service /usr/lib/systemd/system/nginx.service 21 sudo ln -sf `pwd`/nginx.service /usr/lib/systemd/system/nginx.service
22 22
23src: 23src:
diff --git a/nginx/nginx.conf b/nginx/nginx.conf
index 65eb733..d65af50 100644
--- a/nginx/nginx.conf
+++ b/nginx/nginx.conf
@@ -1,7 +1,7 @@
1load_module /usr/lib/nginx/modules/ngx_http_dav_ext_module.so; 1#load_module /usr/lib/nginx/modules/ngx_http_dav_ext_module.so;
2load_module /usr/lib/nginx/modules/ngx_http_xslt_filter_module.so; 2#load_module /usr/lib/nginx/modules/ngx_http_xslt_filter_module.so;
3#load_module /etc/nginx/modules/ngx_http_proxy_connect_module.so; 3#load_module /etc/nginx/modules/ngx_http_proxy_connect_module.so;
4load_module /usr/lib/nginx/modules/ngx_http_fancyindex_module.so; 4#load_module /usr/lib/nginx/modules/ngx_http_fancyindex_module.so;
5 5
6 6
7user pham; 7user pham;