I am following this tutorial and got an error with perl_modules:
root@ns516302:~# service nginx restart
Restarting nginx: nginx: [emerg] unknown directive "perl_modules" in /etc/nginx/sites-enabled/default:1
nginx: configuration file /etc/nginx/nginx.conf test failed
root@ns516302:~#
How do I install perl_module into nginx?
There is not much info on this link .
使用--with-http_perl_module
选项重新编译nginx
到./configure
。
尝试这个:
sudo apt-get install nginx-extras
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.