Nginx 简介

1、什么是 Nginx ?

Nginx [engine x] is an HTTP and reverse proxy server, a mail proxy server, and a generic TCP/UDP proxy server, originally written by Igor Sysoev. For a long time, it has been running on many heavily loaded Russian sites including Yandex, Mail.Ru, VK, and Rambler. According to Netcraft, nginx served or proxied 25.62% busiest sites in May 2020. Here are some of the success stories: Dropbox, Netflix, Wordpress.com, FastMail.FM.

官方地址:http://nginx.org/en/

2、通过宝塔Linux面板安装Nginx

使用前面安装后告知的账号密码登录 “宝塔面板”,忽略默认的提示;

进入“软件商店”功能,在第三页找到Nginx服务, 点击安装,Nginx开始自动安装!

如果在当前宝塔面板所在主机安装FastDFS,这里应选择编译安装

点击左上角的IP,可见Nginx的安装过程,等待安装完成!

服务安装完成后,可设置“首页显示”,点击“设置”可进行参数调整。

性能调整:服务默认已经做了部分参数优化,可根据服务器情况自行调整,这里主要调整绑定IP和访问密码

如果有更多的参数调整,可在配置修改选项进行调整

3、通过宝塔Linux面板,基于Nginx配置负载均衡

作者:Jeebiz  创建时间:2023-01-24 21:35
最后编辑:Jeebiz  更新时间:2024-01-25 09:10