Created
March 10, 2015 03:35
-
-
Save ba0f3/1cec33b7e18632af3e75 to your computer and use it in GitHub Desktop.
Compile Nginx on Raspbian (Debian for PI)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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