summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2016-12-26 08:15:23 -0500
committerluxagraf <sng@luxagraf.net>2016-12-26 08:15:23 -0500
commitfa79112e8f975796a05daf3a8caa160fd1c37b82 (patch)
tree0cda6650f8c83a07a91f9299c67e6d9a877b6a63
parent82cb79c97363b5d3b1a64ed5ff9759b146a8c914 (diff)
updated debian instructions to include centos
-rwxr-xr-xset up debian droplet basics + nginx.txt25
1 files changed, 25 insertions, 0 deletions
diff --git a/set up debian droplet basics + nginx.txt b/set up debian droplet basics + nginx.txt
index 00b7dbc..c3cd32a 100755
--- a/set up debian droplet basics + nginx.txt
+++ b/set up debian droplet basics + nginx.txt
@@ -154,6 +154,31 @@ config script for nginx source (debian paths):
--add-module=$HOME/src/ngx_pagespeed-release-1.11.33.2-beta \
--add-module=$HOME/src/headers-more-nginx-module-0.30 \
+
+./configure \
+--add-module=$HOME/src/naxsi-${NAX_VERSION}/naxsi_src \
+--user=nginx \
+--group=nginx \
+--prefix=/etc/nginx \
+--sbin-path=/usr/sbin/nginx \
+--conf-path=/etc/nginx/nginx.conf \
+--pid-path=/var/run/nginx.pid \
+--lock-path=/var/run/nginx.lock \
+--error-log-path=/var/log/nginx/error.log \
+--http-log-path=/var/log/nginx/access.log \
+--with-http_gzip_static_module \
+--with-http_stub_status_module \
+--with-http_ssl_module \
+--with-pcre \
+--with-file-aio \
+--with-http_realip_module \
+--without-http_scgi_module \
+--without-http_uwsgi_module \
+--without-mail_pop3_module \
+--without-mail_imap_module \
+--without-mail_smtp_module \
+--add-module=$HOME/src/ngx_pagespeed-${NPS_VERSION}-beta
+
make
sudo make install