Compile nginx with upload-module

Posted: มิถุนายน 20, 2013 in ไม่มีหมวดหมู่

./configure –sbin-path=/usr/sbin –conf-path=/etc/nginx/nginx.conf –with-http_gzip_static_module –group=www-data –user=www-data –pid-path=/var/run/nginx.pid –with-http_stub_status_module –error-log-path=/var/log/nginx/error.log –http-log-path=/var/log/nginx/access.log –with-http_flv_module –add-module=/usr/src/nginx_upload_module-2.2.0 –add-module=/usr/src/nginx-upload-progress-module-master
cd nginx_upload_module-2.2.0
wget http://portage.perestoroniny.ru/www-servers/nginx/files/nginx-1.3.9_upload_module.patch
patch -p0 < nginx-1.3.9_upload_module.patch

Advertisements

ใส่ความเห็น

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / เปลี่ยนแปลง )

Twitter picture

You are commenting using your Twitter account. Log Out / เปลี่ยนแปลง )

Facebook photo

You are commenting using your Facebook account. Log Out / เปลี่ยนแปลง )

Google+ photo

You are commenting using your Google+ account. Log Out / เปลี่ยนแปลง )

Connecting to %s