Linux安装Nginx

2025-01-09

tar -zxvf nginx-1.23.4.tar.gz

cd nginx-1.23.4

./configure --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_ssl_module

make

make install

cd /usr/local/nginx/sbin

./nginx -v