你可能还需要安装
sudo apt-get install openssl libssl-dev
ubuntu安装nginx时提示error: the HTTP rewrite module requires the PCRE library
ubuntu安装nginx时提示error: the HTTP rewrite module requires the PCRE library需要安装pcre包。sudo apt-get updatesudo apt-get install libpcre3 libpcre3-dev