Skip to content

Instantly share code, notes, and snippets.

@ba0f3
Created March 10, 2015 03:35
Show Gist options
  • Save ba0f3/1cec33b7e18632af3e75 to your computer and use it in GitHub Desktop.
Save ba0f3/1cec33b7e18632af3e75 to your computer and use it in GitHub Desktop.
Compile Nginx on Raspbian (Debian for PI)
apt-get install libpcre3-dev libssl-dev
wget http://nginx.org/download/nginx-1.7.10.tar.gz
tar zxvf nginx-1.7.10.tar.gz
cd nginx=*
./configure --sbin-path=/usr/sbin/nginx \
--conf-path=/etc/nginx/nginx.conf \
--pid-path=/var/run/nginx.pid \
--error-log-path=/var/log/nginx/error.log \
--http-log-path=/var/log/nginx/access.log \
--with-http_ssl_module \
--with-http_spdy_module
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment