Nginx 是一款 高性能 輕量級 的 http 和 反向代理服務器,佔用內存少,併發能力強。
特點:1, 熱部署,修改配置之後不需要重啓服務(重載操作)
2, 高併發,低消耗
3, 響應速度快,特別是靜態響應
4, 可靠性高
一 、Nginx 安裝部署
Centos 7 使用yum安裝
1,安裝gcc gcc是用來編譯下載下來的nginx源碼
# yum install gcc-c++
[root@cloud-master ~]# yum install -y gcc gcc-c++
Loaded plugins: fastestmirror, langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
Loading mirror speeds from cached hostfile
base | 3.6 kB 00:00:00
extras | 2.9 kB 00:00:00
updates | 2.9 kB 00:00:00
Resolving Dependencies
--> Running transaction check
---> Package gcc.x86_64 0:4.8.5-39.el7 will be installed
--> Processing Dependency: cpp = 4.8.5-39.el7 for package: gcc-4.8.5-39.el7.x86_64
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.8.5-39.el7.x86_64
---> Package gcc-c++.x86_64 0:4.8.5-39.el7 will be installed
--> Processing Dependency: libstdc++-devel = 4.8.5-39.el7 for package: gcc-c++-4.8.5-39.el7.x86_64
--> Running transaction check
---> Package cpp.x86_64 0:4.8.5-39.el7 will be installed
---> Package glibc-devel.x86_64 0:2.17-307.el7.1 will be installed
--> Processing Dependency: glibc-headers = 2.17-307.el7.1 for package: glibc-devel-2.17-307.el7.1.x86_64
--> Processing Dependency: glibc = 2.17-307.el7.1 for package: glibc-devel-2.17-307.el7.1.x86_64
--> Processing Dependency: glibc-headers for package: glibc-devel-2.17-307.el7.1.x86_64
---> Package libstdc++-devel.x86_64 0:4.8.5-39.el7 will be installed
--> Running transaction check
---> Package glibc.x86_64 0:2.17-292.el7 will be updated
--> Processing Dependency: glibc = 2.17-292.el7 for package: glibc-common-2.17-292.el7.x86_64
---> Package glibc.x86_64 0:2.17-307.el7.1 will be an update
---> Package glibc-headers.x86_64 0:2.17-307.el7.1 will be installed
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.17-307.el7.1.x86_64
--> Processing Dependency: kernel-headers for package: glibc-headers-2.17-307.el7.1.x86_64
--> Running transaction check
---> Package glibc-common.x86_64 0:2.17-292.el7 will be updated
---> Package glibc-common.x86_64 0:2.17-307.el7.1 will be an update
---> Package kernel-headers.x86_64 0:3.10.0-1127.10.1.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
====================================================================================================================================
Package Arch Version Repository Size
====================================================================================================================================
Installing:
gcc x86_64 4.8.5-39.el7 base 16 M
gcc-c++ x86_64 4.8.5-39.el7 base 7.2 M
Installing for dependencies:
cpp x86_64 4.8.5-39.el7 base 5.9 M
glibc-devel x86_64 2.17-307.el7.1 base 1.1 M
glibc-headers x86_64 2.17-307.el7.1 base 689 k
kernel-headers x86_64 3.10.0-1127.10.1.el7 updates 8.9 M
libstdc++-devel x86_64 4.8.5-39.el7 base 1.5 M
Updating for dependencies:
glibc x86_64 2.17-307.el7.1 base 3.6 M
glibc-common x86_64 2.17-307.el7.1 base 11 M
Transaction Summary
====================================================================================================================================
Install 2 Packages (+5 Dependent packages)
Upgrade ( 2 Dependent packages)
Total size: 57 M
Total download size: 42 M
Downloading packages:
(1/7): cpp-4.8.5-39.el7.x86_64.rpm | 5.9 MB 00:00:00
(2/7): gcc-c++-4.8.5-39.el7.x86_64.rpm | 7.2 MB 00:00:00
(3/7): glibc-devel-2.17-307.el7.1.x86_64.rpm | 1.1 MB 00:00:00
(4/7): glibc-headers-2.17-307.el7.1.x86_64.rpm | 689 kB 00:00:00
(5/7): gcc-4.8.5-39.el7.x86_64.rpm | 16 MB 00:00:02
(6/7): libstdc++-devel-4.8.5-39.el7.x86_64.rpm | 1.5 MB 00:00:00
(7/7): kernel-headers-3.10.0-1127.10.1.el7.x86_64.rpm | 8.9 MB 00:00:02
------------------------------------------------------------------------------------------------------------------------------------
Total 9.5 MB/s | 42 MB 00:00:04
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Updating : glibc-2.17-307.el7.1.x86_64 1/11
Updating : glibc-common-2.17-307.el7.1.x86_64 2/11
Installing : cpp-4.8.5-39.el7.x86_64 3/11
Installing : libstdc++-devel-4.8.5-39.el7.x86_64 4/11
Installing : kernel-headers-3.10.0-1127.10.1.el7.x86_64 5/11
Installing : glibc-headers-2.17-307.el7.1.x86_64 6/11
Installing : glibc-devel-2.17-307.el7.1.x86_64 7/11
Installing : gcc-4.8.5-39.el7.x86_64 8/11
Installing : gcc-c++-4.8.5-39.el7.x86_64 9/11
Cleanup : glibc-2.17-292.el7.x86_64 10/11
Cleanup : glibc-common-2.17-292.el7.x86_64 11/11
Verifying : glibc-headers-2.17-307.el7.1.x86_64 1/11
Verifying : glibc-devel-2.17-307.el7.1.x86_64 2/11
Verifying : gcc-c++-4.8.5-39.el7.x86_64 3/11
Verifying : glibc-common-2.17-307.el7.1.x86_64 4/11
Verifying : cpp-4.8.5-39.el7.x86_64 5/11
Verifying : gcc-4.8.5-39.el7.x86_64 6/11
Verifying : kernel-headers-3.10.0-1127.10.1.el7.x86_64 7/11
Verifying : libstdc++-devel-4.8.5-39.el7.x86_64 8/11
Verifying : glibc-2.17-307.el7.1.x86_64 9/11
Verifying : glibc-2.17-292.el7.x86_64 10/11
Verifying : glibc-common-2.17-292.el7.x86_64 11/11
Installed:
gcc.x86_64 0:4.8.5-39.el7 gcc-c++.x86_64 0:4.8.5-39.el7
Dependency Installed:
cpp.x86_64 0:4.8.5-39.el7 glibc-devel.x86_64 0:2.17-307.el7.1 glibc-headers.x86_64 0:2.17-307.el7.1
kernel-headers.x86_64 0:3.10.0-1127.10.1.el7 libstdc++-devel.x86_64 0:4.8.5-39.el7
Dependency Updated:
glibc.x86_64 0:2.17-307.el7.1 glibc-common.x86_64 0:2.17-307.el7.1
Complete!
[root@cloud-master ~]#
2,安裝pcre和pcre-devel
PCRE(Perl Compatible Regular Expressions) 是一個Perl庫,包括 perl 兼容的正則表達式庫。
nginx 的 http 模塊使用 pcre 來解析正則表達式,pcre-devel 是使用 pcre 開發的一個二次開發庫。
3,安裝zlib zlib提供了很多壓縮和解方式,nginx需要zlib對http進行gzip
# yum install -y zlib zlib-devel
# yum install -y pcre pcre-devel
[root@cloud-master local]# yum install -y pcre pcre-devel
Loaded plugins: fastestmirror, langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
Loading mirror speeds from cached hostfile
Package pcre-8.32-17.el7.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package pcre-devel.x86_64 0:8.32-17.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
====================================================================================================================================
Package Arch Version Repository Size
====================================================================================================================================
Installing:
pcre-devel x86_64 8.32-17.el7 base 480 k
Transaction Summary
====================================================================================================================================
Install 1 Package
Total download size: 480 k
Installed size: 1.4 M
Downloading packages:
pcre-devel-8.32-17.el7.x86_64.rpm | 480 kB 00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : pcre-devel-8.32-17.el7.x86_64 1/1
Verifying : pcre-devel-8.32-17.el7.x86_64 1/1
Installed:
pcre-devel.x86_64 0:8.32-17.el7
Complete!
[root@cloud-master local]# yum install -y zlib zlib-devel
Loaded plugins: fastestmirror, langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
Loading mirror speeds from cached hostfile
Package zlib-1.2.7-18.el7.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package zlib-devel.x86_64 0:1.2.7-18.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
====================================================================================================================================
Package Arch Version Repository Size
====================================================================================================================================
Installing:
zlib-devel x86_64 1.2.7-18.el7 base 50 k
Transaction Summary
====================================================================================================================================
Install 1 Package
Total download size: 50 k
Installed size: 132 k
Downloading packages:
zlib-devel-1.2.7-18.el7.x86_64.rpm | 50 kB 00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : zlib-devel-1.2.7-18.el7.x86_64 1/1
Verifying : zlib-devel-1.2.7-18.el7.x86_64 1/1
Installed:
zlib-devel.x86_64 0:1.2.7-18.el7
Complete!
3, 安裝openssl openssl是一個安全套接字層密碼庫,nginx要支持https,需要使用openssl
yum install -y openssl openssl-devel
[root@cloud-master local]# yum install -y openssl openssl-devel
Loaded plugins: fastestmirror, langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
Loading mirror speeds from cached hostfile
Package 1:openssl-1.0.2k-19.el7.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package openssl-devel.x86_64 1:1.0.2k-19.el7 will be installed
--> Processing Dependency: krb5-devel(x86-64) for package: 1:openssl-devel-1.0.2k-19.el7.x86_64
--> Running transaction check
---> Package krb5-devel.x86_64 0:1.15.1-46.el7 will be installed
--> Processing Dependency: libkadm5(x86-64) = 1.15.1-46.el7 for package: krb5-devel-1.15.1-46.el7.x86_64
--> Processing Dependency: krb5-libs(x86-64) = 1.15.1-46.el7 for package: krb5-devel-1.15.1-46.el7.x86_64
--> Processing Dependency: libverto-devel for package: krb5-devel-1.15.1-46.el7.x86_64
--> Processing Dependency: libselinux-devel for package: krb5-devel-1.15.1-46.el7.x86_64
--> Processing Dependency: libcom_err-devel for package: krb5-devel-1.15.1-46.el7.x86_64
--> Processing Dependency: keyutils-libs-devel for package: krb5-devel-1.15.1-46.el7.x86_64
--> Running transaction check
---> Package keyutils-libs-devel.x86_64 0:1.5.8-3.el7 will be installed
---> Package krb5-libs.x86_64 0:1.15.1-37.el7_6 will be updated
--> Processing Dependency: krb5-libs(x86-64) = 1.15.1-37.el7_6 for package: krb5-workstation-1.15.1-37.el7_6.x86_64
---> Package krb5-libs.x86_64 0:1.15.1-46.el7 will be an update
---> Package libcom_err-devel.x86_64 0:1.42.9-17.el7 will be installed
--> Processing Dependency: libcom_err(x86-64) = 1.42.9-17.el7 for package: libcom_err-devel-1.42.9-17.el7.x86_64
---> Package libkadm5.x86_64 0:1.15.1-37.el7_6 will be updated
---> Package libkadm5.x86_64 0:1.15.1-46.el7 will be an update
---> Package libselinux-devel.x86_64 0:2.5-15.el7 will be installed
--> Processing Dependency: libselinux(x86-64) = 2.5-15.el7 for package: libselinux-devel-2.5-15.el7.x86_64
--> Processing Dependency: libsepol-devel(x86-64) >= 2.5-10 for package: libselinux-devel-2.5-15.el7.x86_64
--> Processing Dependency: pkgconfig(libsepol) for package: libselinux-devel-2.5-15.el7.x86_64
---> Package libverto-devel.x86_64 0:0.2.5-4.el7 will be installed
--> Running transaction check
---> Package krb5-workstation.x86_64 0:1.15.1-37.el7_6 will be updated
---> Package krb5-workstation.x86_64 0:1.15.1-46.el7 will be an update
---> Package libcom_err.x86_64 0:1.42.9-16.el7 will be updated
--> Processing Dependency: libcom_err(x86-64) = 1.42.9-16.el7 for package: libss-1.42.9-16.el7.x86_64
--> Processing Dependency: libcom_err(x86-64) = 1.42.9-16.el7 for package: e2fsprogs-libs-1.42.9-16.el7.x86_64
--> Processing Dependency: libcom_err(x86-64) = 1.42.9-16.el7 for package: e2fsprogs-1.42.9-16.el7.x86_64
---> Package libcom_err.x86_64 0:1.42.9-17.el7 will be an update
---> Package libselinux.x86_64 0:2.5-14.1.el7 will be updated
--> Processing Dependency: libselinux(x86-64) = 2.5-14.1.el7 for package: libselinux-python-2.5-14.1.el7.x86_64
--> Processing Dependency: libselinux(x86-64) = 2.5-14.1.el7 for package: libselinux-utils-2.5-14.1.el7.x86_64
---> Package libselinux.x86_64 0:2.5-15.el7 will be an update
---> Package libsepol-devel.x86_64 0:2.5-10.el7 will be installed
--> Running transaction check
---> Package e2fsprogs.x86_64 0:1.42.9-16.el7 will be updated
---> Package e2fsprogs.x86_64 0:1.42.9-17.el7 will be an update
---> Package e2fsprogs-libs.x86_64 0:1.42.9-16.el7 will be updated
---> Package e2fsprogs-libs.x86_64 0:1.42.9-17.el7 will be an update
---> Package libselinux-python.x86_64 0:2.5-14.1.el7 will be updated
---> Package libselinux-python.x86_64 0:2.5-15.el7 will be an update
---> Package libselinux-utils.x86_64 0:2.5-14.1.el7 will be updated
---> Package libselinux-utils.x86_64 0:2.5-15.el7 will be an update
---> Package libss.x86_64 0:1.42.9-16.el7 will be updated
---> Package libss.x86_64 0:1.42.9-17.el7 will be an update
--> Finished Dependency Resolution
Dependencies Resolved
====================================================================================================================================
Package Arch Version Repository Size
====================================================================================================================================
Installing:
openssl-devel x86_64 1:1.0.2k-19.el7 base 1.5 M
Installing for dependencies:
keyutils-libs-devel x86_64 1.5.8-3.el7 base 37 k
krb5-devel x86_64 1.15.1-46.el7 base 272 k
libcom_err-devel x86_64 1.42.9-17.el7 base 32 k
libselinux-devel x86_64 2.5-15.el7 base 187 k
libsepol-devel x86_64 2.5-10.el7 base 77 k
libverto-devel x86_64 0.2.5-4.el7 base 12 k
Updating for dependencies:
e2fsprogs x86_64 1.42.9-17.el7 base 699 k
e2fsprogs-libs x86_64 1.42.9-17.el7 base 168 k
krb5-libs x86_64 1.15.1-46.el7 base 809 k
krb5-workstation x86_64 1.15.1-46.el7 base 820 k
libcom_err x86_64 1.42.9-17.el7 base 42 k
libkadm5 x86_64 1.15.1-46.el7 base 179 k
libselinux x86_64 2.5-15.el7 base 162 k
libselinux-python x86_64 2.5-15.el7 base 236 k
libselinux-utils x86_64 2.5-15.el7 base 151 k
libss x86_64 1.42.9-17.el7 base 46 k
Transaction Summary
====================================================================================================================================
Install 1 Package (+ 6 Dependent packages)
Upgrade ( 10 Dependent packages)
Total size: 5.3 M
Total download size: 2.1 M
Downloading packages:
(1/7): krb5-devel-1.15.1-46.el7.x86_64.rpm | 272 kB 00:00:00
(2/7): libcom_err-devel-1.42.9-17.el7.x86_64.rpm | 32 kB 00:00:00
(3/7): libselinux-devel-2.5-15.el7.x86_64.rpm | 187 kB 00:00:00
(4/7): libsepol-devel-2.5-10.el7.x86_64.rpm | 77 kB 00:00:00
(5/7): libverto-devel-0.2.5-4.el7.x86_64.rpm | 12 kB 00:00:00
(6/7): keyutils-libs-devel-1.5.8-3.el7.x86_64.rpm | 37 kB 00:00:00
(7/7): openssl-devel-1.0.2k-19.el7.x86_64.rpm | 1.5 MB 00:00:00
------------------------------------------------------------------------------------------------------------------------------------
Total 2.6 MB/s | 2.1 MB 00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Updating : libcom_err-1.42.9-17.el7.x86_64 1/27
Updating : libselinux-2.5-15.el7.x86_64 2/27
Updating : krb5-libs-1.15.1-46.el7.x86_64 3/27
Updating : libkadm5-1.15.1-46.el7.x86_64 4/27
Updating : libss-1.42.9-17.el7.x86_64 5/27
Updating : e2fsprogs-libs-1.42.9-17.el7.x86_64 6/27
Installing : libcom_err-devel-1.42.9-17.el7.x86_64 7/27
Installing : libsepol-devel-2.5-10.el7.x86_64 8/27
Installing : libselinux-devel-2.5-15.el7.x86_64 9/27
Installing : libverto-devel-0.2.5-4.el7.x86_64 10/27
Installing : keyutils-libs-devel-1.5.8-3.el7.x86_64 11/27
Installing : krb5-devel-1.15.1-46.el7.x86_64 12/27
Installing : 1:openssl-devel-1.0.2k-19.el7.x86_64 13/27
Updating : e2fsprogs-1.42.9-17.el7.x86_64 14/27
Updating : krb5-workstation-1.15.1-46.el7.x86_64 15/27
Updating : libselinux-utils-2.5-15.el7.x86_64 16/27
Updating : libselinux-python-2.5-15.el7.x86_64 17/27
Cleanup : krb5-workstation-1.15.1-37.el7_6.x86_64 18/27
Cleanup : e2fsprogs-1.42.9-16.el7.x86_64 19/27
Cleanup : libkadm5-1.15.1-37.el7_6.x86_64 20/27
Cleanup : krb5-libs-1.15.1-37.el7_6.x86_64 21/27
Cleanup : e2fsprogs-libs-1.42.9-16.el7.x86_64 22/27
Cleanup : libss-1.42.9-16.el7.x86_64 23/27
Cleanup : libselinux-python-2.5-14.1.el7.x86_64 24/27
Cleanup : libselinux-utils-2.5-14.1.el7.x86_64 25/27
Cleanup : libselinux-2.5-14.1.el7.x86_64 26/27
Cleanup : libcom_err-1.42.9-16.el7.x86_64 27/27
Verifying : libselinux-devel-2.5-15.el7.x86_64 1/27
Verifying : keyutils-libs-devel-1.5.8-3.el7.x86_64 2/27
Verifying : e2fsprogs-libs-1.42.9-17.el7.x86_64 3/27
Verifying : libselinux-2.5-15.el7.x86_64 4/27
Verifying : libcom_err-1.42.9-17.el7.x86_64 5/27
Verifying : krb5-libs-1.15.1-46.el7.x86_64 6/27
Verifying : libverto-devel-0.2.5-4.el7.x86_64 7/27
Verifying : e2fsprogs-1.42.9-17.el7.x86_64 8/27
Verifying : libkadm5-1.15.1-46.el7.x86_64 9/27
Verifying : libcom_err-devel-1.42.9-17.el7.x86_64 10/27
Verifying : krb5-devel-1.15.1-46.el7.x86_64 11/27
Verifying : libselinux-utils-2.5-15.el7.x86_64 12/27
Verifying : libselinux-python-2.5-15.el7.x86_64 13/27
Verifying : 1:openssl-devel-1.0.2k-19.el7.x86_64 14/27
Verifying : libsepol-devel-2.5-10.el7.x86_64 15/27
Verifying : libss-1.42.9-17.el7.x86_64 16/27
Verifying : krb5-workstation-1.15.1-46.el7.x86_64 17/27
Verifying : krb5-workstation-1.15.1-37.el7_6.x86_64 18/27
Verifying : krb5-libs-1.15.1-37.el7_6.x86_64 19/27
Verifying : e2fsprogs-1.42.9-16.el7.x86_64 20/27
Verifying : libss-1.42.9-16.el7.x86_64 21/27
Verifying : libcom_err-1.42.9-16.el7.x86_64 22/27
Verifying : libselinux-python-2.5-14.1.el7.x86_64 23/27
Verifying : libselinux-utils-2.5-14.1.el7.x86_64 24/27
Verifying : libkadm5-1.15.1-37.el7_6.x86_64 25/27
Verifying : e2fsprogs-libs-1.42.9-16.el7.x86_64 26/27
Verifying : libselinux-2.5-14.1.el7.x86_64 27/27
Installed:
openssl-devel.x86_64 1:1.0.2k-19.el7
Dependency Installed:
keyutils-libs-devel.x86_64 0:1.5.8-3.el7 krb5-devel.x86_64 0:1.15.1-46.el7 libcom_err-devel.x86_64 0:1.42.9-17.el7
libselinux-devel.x86_64 0:2.5-15.el7 libsepol-devel.x86_64 0:2.5-10.el7 libverto-devel.x86_64 0:0.2.5-4.el7
Dependency Updated:
e2fsprogs.x86_64 0:1.42.9-17.el7 e2fsprogs-libs.x86_64 0:1.42.9-17.el7 krb5-libs.x86_64 0:1.15.1-46.el7
krb5-workstation.x86_64 0:1.15.1-46.el7 libcom_err.x86_64 0:1.42.9-17.el7 libkadm5.x86_64 0:1.15.1-46.el7
libselinux.x86_64 0:2.5-15.el7 libselinux-python.x86_64 0:2.5-15.el7 libselinux-utils.x86_64 0:2.5-15.el7
libss.x86_64 0:1.42.9-17.el7
Complete!
4, 下載nginx
wget http://nginx.org/download/nginx-1.14.0.tar.gz
[root@cloud-master local]# wget http://nginx.org/download/nginx-1.14.0.tar.gz
--2020-06-16 13:56:40-- http://nginx.org/download/nginx-1.14.0.tar.gz
Resolving nginx.org (nginx.org)... 2001:1af8:4060:a004:21::e3, 95.211.80.227, 62.210.92.35
Connecting to nginx.org (nginx.org)|2001:1af8:4060:a004:21::e3|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1016272 (992K) [application/octet-stream]
Saving to: ‘nginx-1.14.0.tar.gz’
100%[==========================================================================================>] 1,016,272 115KB/s in 9.4s
2020-06-16 13:56:50 (105 KB/s) - ‘nginx-1.14.0.tar.gz’ saved [1016272/1016272]
[root@cloud-master local]# tar -zxvf nginx-1.14.0.tar.gz -C /usr/local
nginx-1.14.0/
nginx-1.14.0/auto/
nginx-1.14.0/conf/
nginx-1.14.0/contrib/
nginx-1.14.0/src/
nginx-1.14.0/configure
nginx-1.14.0/LICENSE
nginx-1.14.0/README
nginx-1.14.0/html/
nginx-1.14.0/man/
nginx-1.14.0/CHANGES.ru
nginx-1.14.0/CHANGES
nginx-1.14.0/man/nginx.8
nginx-1.14.0/html/50x.html
nginx-1.14.0/html/index.html
nginx-1.14.0/src/core/
nginx-1.14.0/src/event/
nginx-1.14.0/src/http/
nginx-1.14.0/src/mail/
nginx-1.14.0/src/misc/
nginx-1.14.0/src/os/
nginx-1.14.0/src/stream/
nginx-1.14.0/src/stream/ngx_stream_geo_module.c
nginx-1.14.0/src/stream/ngx_stream.c
nginx-1.14.0/src/stream/ngx_stream.h
nginx-1.14.0/src/stream/ngx_stream_limit_conn_module.c
nginx-1.14.0/src/stream/ngx_stream_access_module.c
nginx-1.14.0/src/stream/ngx_stream_core_module.c
nginx-1.14.0/src/stream/ngx_stream_geoip_module.c
nginx-1.14.0/src/stream/ngx_stream_handler.c
nginx-1.14.0/src/stream/ngx_stream_proxy_module.c
nginx-1.14.0/src/stream/ngx_stream_log_module.c
nginx-1.14.0/src/stream/ngx_stream_map_module.c
nginx-1.14.0/src/stream/ngx_stream_split_clients_module.c
nginx-1.14.0/src/stream/ngx_stream_realip_module.c
nginx-1.14.0/src/stream/ngx_stream_return_module.c
nginx-1.14.0/src/stream/ngx_stream_script.c
nginx-1.14.0/src/stream/ngx_stream_script.h
nginx-1.14.0/src/stream/ngx_stream_ssl_preread_module.c
nginx-1.14.0/src/stream/ngx_stream_ssl_module.c
nginx-1.14.0/src/stream/ngx_stream_ssl_module.h
nginx-1.14.0/src/stream/ngx_stream_upstream.c
nginx-1.14.0/src/stream/ngx_stream_upstream.h
nginx-1.14.0/src/stream/ngx_stream_upstream_least_conn_module.c
nginx-1.14.0/src/stream/ngx_stream_upstream_zone_module.c
nginx-1.14.0/src/stream/ngx_stream_upstream_hash_module.c
nginx-1.14.0/src/stream/ngx_stream_upstream_round_robin.c
nginx-1.14.0/src/stream/ngx_stream_upstream_round_robin.h
nginx-1.14.0/src/stream/ngx_stream_variables.c
nginx-1.14.0/src/stream/ngx_stream_variables.h
nginx-1.14.0/src/stream/ngx_stream_write_filter_module.c
nginx-1.14.0/src/os/unix/
nginx-1.14.0/src/os/unix/ngx_atomic.h
nginx-1.14.0/src/os/unix/ngx_alloc.c
nginx-1.14.0/src/os/unix/ngx_alloc.h
nginx-1.14.0/src/os/unix/ngx_darwin_config.h
nginx-1.14.0/src/os/unix/ngx_channel.c
nginx-1.14.0/src/os/unix/ngx_channel.h
nginx-1.14.0/src/os/unix/ngx_daemon.c
nginx-1.14.0/src/os/unix/ngx_darwin.h
nginx-1.14.0/src/os/unix/ngx_darwin_sendfile_chain.c
nginx-1.14.0/src/os/unix/ngx_darwin_init.c
nginx-1.14.0/src/os/unix/ngx_file_aio_read.c
nginx-1.14.0/src/os/unix/ngx_dlopen.c
nginx-1.14.0/src/os/unix/ngx_dlopen.h
nginx-1.14.0/src/os/unix/ngx_errno.c
nginx-1.14.0/src/os/unix/ngx_errno.h
nginx-1.14.0/src/os/unix/ngx_freebsd.h
nginx-1.14.0/src/os/unix/ngx_files.c
nginx-1.14.0/src/os/unix/ngx_files.h
nginx-1.14.0/src/os/unix/ngx_freebsd_sendfile_chain.c
nginx-1.14.0/src/os/unix/ngx_freebsd_config.h
nginx-1.14.0/src/os/unix/ngx_freebsd_init.c
nginx-1.14.0/src/os/unix/ngx_gcc_atomic_sparc64.h
nginx-1.14.0/src/os/unix/ngx_gcc_atomic_amd64.h
nginx-1.14.0/src/os/unix/ngx_gcc_atomic_ppc.h
nginx-1.14.0/src/os/unix/ngx_linux_sendfile_chain.c
nginx-1.14.0/src/os/unix/ngx_gcc_atomic_x86.h
nginx-1.14.0/src/os/unix/ngx_linux.h
nginx-1.14.0/src/os/unix/ngx_linux_aio_read.c
nginx-1.14.0/src/os/unix/ngx_linux_config.h
nginx-1.14.0/src/os/unix/ngx_linux_init.c
nginx-1.14.0/src/os/unix/ngx_posix_config.h
nginx-1.14.0/src/os/unix/ngx_os.h
nginx-1.14.0/src/os/unix/ngx_solaris_config.h
nginx-1.14.0/src/os/unix/ngx_posix_init.c
nginx-1.14.0/src/os/unix/ngx_process.c
nginx-1.14.0/src/os/unix/ngx_process.h
nginx-1.14.0/src/os/unix/ngx_process_cycle.c
nginx-1.14.0/src/os/unix/ngx_process_cycle.h
nginx-1.14.0/src/os/unix/ngx_readv_chain.c
nginx-1.14.0/src/os/unix/ngx_recv.c
nginx-1.14.0/src/os/unix/ngx_send.c
nginx-1.14.0/src/os/unix/ngx_setaffinity.c
nginx-1.14.0/src/os/unix/ngx_setaffinity.h
nginx-1.14.0/src/os/unix/ngx_setproctitle.c
nginx-1.14.0/src/os/unix/ngx_setproctitle.h
nginx-1.14.0/src/os/unix/ngx_shmem.c
nginx-1.14.0/src/os/unix/ngx_shmem.h
nginx-1.14.0/src/os/unix/ngx_socket.c
nginx-1.14.0/src/os/unix/ngx_socket.h
nginx-1.14.0/src/os/unix/ngx_solaris.h
nginx-1.14.0/src/os/unix/ngx_solaris_init.c
nginx-1.14.0/src/os/unix/ngx_sunpro_amd64.il
nginx-1.14.0/src/os/unix/ngx_thread_cond.c
nginx-1.14.0/src/os/unix/ngx_thread.h
nginx-1.14.0/src/os/unix/ngx_solaris_sendfilev_chain.c
nginx-1.14.0/src/os/unix/ngx_sunpro_atomic_sparc64.h
nginx-1.14.0/src/os/unix/ngx_sunpro_sparc64.il
nginx-1.14.0/src/os/unix/ngx_sunpro_x86.il
nginx-1.14.0/src/os/unix/ngx_thread_mutex.c
nginx-1.14.0/src/os/unix/ngx_thread_id.c
nginx-1.14.0/src/os/unix/ngx_udp_recv.c
nginx-1.14.0/src/os/unix/ngx_time.c
nginx-1.14.0/src/os/unix/ngx_time.h
nginx-1.14.0/src/os/unix/ngx_udp_sendmsg_chain.c
nginx-1.14.0/src/os/unix/ngx_udp_send.c
nginx-1.14.0/src/os/unix/ngx_writev_chain.c
nginx-1.14.0/src/os/unix/ngx_user.c
nginx-1.14.0/src/os/unix/ngx_user.h
nginx-1.14.0/src/misc/ngx_google_perftools_module.c
nginx-1.14.0/src/misc/ngx_cpp_test_module.cpp
nginx-1.14.0/src/mail/ngx_mail_handler.c
nginx-1.14.0/src/mail/ngx_mail.c
nginx-1.14.0/src/mail/ngx_mail.h
nginx-1.14.0/src/mail/ngx_mail_auth_http_module.c
nginx-1.14.0/src/mail/ngx_mail_core_module.c
nginx-1.14.0/src/mail/ngx_mail_imap_handler.c
nginx-1.14.0/src/mail/ngx_mail_imap_module.c
nginx-1.14.0/src/mail/ngx_mail_imap_module.h
nginx-1.14.0/src/mail/ngx_mail_parse.c
nginx-1.14.0/src/mail/ngx_mail_pop3_handler.c
nginx-1.14.0/src/mail/ngx_mail_pop3_module.c
nginx-1.14.0/src/mail/ngx_mail_pop3_module.h
nginx-1.14.0/src/mail/ngx_mail_proxy_module.c
nginx-1.14.0/src/mail/ngx_mail_smtp_handler.c
nginx-1.14.0/src/mail/ngx_mail_smtp_module.c
nginx-1.14.0/src/mail/ngx_mail_smtp_module.h
nginx-1.14.0/src/mail/ngx_mail_ssl_module.c
nginx-1.14.0/src/mail/ngx_mail_ssl_module.h
nginx-1.14.0/src/http/modules/
nginx-1.14.0/src/http/ngx_http_cache.h
nginx-1.14.0/src/http/ngx_http.c
nginx-1.14.0/src/http/ngx_http.h
nginx-1.14.0/src/http/ngx_http_core_module.c
nginx-1.14.0/src/http/ngx_http_config.h
nginx-1.14.0/src/http/ngx_http_postpone_filter_module.c
nginx-1.14.0/src/http/ngx_http_copy_filter_module.c
nginx-1.14.0/src/http/ngx_http_core_module.h
nginx-1.14.0/src/http/ngx_http_file_cache.c
nginx-1.14.0/src/http/ngx_http_header_filter_module.c
nginx-1.14.0/src/http/ngx_http_parse.c
nginx-1.14.0/src/http/ngx_http_special_response.c
nginx-1.14.0/src/http/ngx_http_request.c
nginx-1.14.0/src/http/ngx_http_request.h
nginx-1.14.0/src/http/ngx_http_request_body.c
nginx-1.14.0/src/http/ngx_http_script.c
nginx-1.14.0/src/http/ngx_http_script.h
nginx-1.14.0/src/http/ngx_http_variables.c
nginx-1.14.0/src/http/ngx_http_upstream.c
nginx-1.14.0/src/http/ngx_http_upstream.h
nginx-1.14.0/src/http/v2/
nginx-1.14.0/src/http/ngx_http_upstream_round_robin.c
nginx-1.14.0/src/http/ngx_http_upstream_round_robin.h
nginx-1.14.0/src/http/ngx_http_variables.h
nginx-1.14.0/src/http/ngx_http_write_filter_module.c
nginx-1.14.0/src/http/v2/ngx_http_v2_encode.c
nginx-1.14.0/src/http/v2/ngx_http_v2.c
nginx-1.14.0/src/http/v2/ngx_http_v2.h
nginx-1.14.0/src/http/v2/ngx_http_v2_filter_module.c
nginx-1.14.0/src/http/v2/ngx_http_v2_huff_decode.c
nginx-1.14.0/src/http/v2/ngx_http_v2_huff_encode.c
nginx-1.14.0/src/http/v2/ngx_http_v2_module.c
nginx-1.14.0/src/http/v2/ngx_http_v2_module.h
nginx-1.14.0/src/http/v2/ngx_http_v2_table.c
nginx-1.14.0/src/http/modules/ngx_http_addition_filter_module.c
nginx-1.14.0/src/http/modules/ngx_http_access_module.c
nginx-1.14.0/src/http/modules/ngx_http_charset_filter_module.c
nginx-1.14.0/src/http/modules/ngx_http_auth_basic_module.c
nginx-1.14.0/src/http/modules/ngx_http_auth_request_module.c
nginx-1.14.0/src/http/modules/ngx_http_autoindex_module.c
nginx-1.14.0/src/http/modules/ngx_http_browser_module.c
nginx-1.14.0/src/http/modules/ngx_http_not_modified_filter_module.c
nginx-1.14.0/src/http/modules/ngx_http_chunked_filter_module.c
nginx-1.14.0/src/http/modules/ngx_http_dav_module.c
nginx-1.14.0/src/http/modules/ngx_http_degradation_module.c
nginx-1.14.0/src/http/modules/ngx_http_empty_gif_module.c
nginx-1.14.0/src/http/modules/ngx_http_fastcgi_module.c
nginx-1.14.0/src/http/modules/ngx_http_flv_module.c
nginx-1.14.0/src/http/modules/ngx_http_geo_module.c
nginx-1.14.0/src/http/modules/ngx_http_geoip_module.c
nginx-1.14.0/src/http/modules/ngx_http_grpc_module.c
nginx-1.14.0/src/http/modules/ngx_http_gunzip_filter_module.c
nginx-1.14.0/src/http/modules/ngx_http_gzip_filter_module.c
nginx-1.14.0/src/http/modules/ngx_http_gzip_static_module.c
nginx-1.14.0/src/http/modules/ngx_http_headers_filter_module.c
nginx-1.14.0/src/http/modules/ngx_http_image_filter_module.c
nginx-1.14.0/src/http/modules/ngx_http_index_module.c
nginx-1.14.0/src/http/modules/ngx_http_limit_conn_module.c
nginx-1.14.0/src/http/modules/ngx_http_limit_req_module.c
nginx-1.14.0/src/http/modules/ngx_http_log_module.c
nginx-1.14.0/src/http/modules/ngx_http_map_module.c
nginx-1.14.0/src/http/modules/ngx_http_memcached_module.c
nginx-1.14.0/src/http/modules/ngx_http_mirror_module.c
nginx-1.14.0/src/http/modules/ngx_http_mp4_module.c
nginx-1.14.0/src/http/modules/ngx_http_random_index_module.c
nginx-1.14.0/src/http/modules/ngx_http_proxy_module.c
nginx-1.14.0/src/http/modules/ngx_http_upstream_ip_hash_module.c
nginx-1.14.0/src/http/modules/ngx_http_range_filter_module.c
nginx-1.14.0/src/http/modules/ngx_http_realip_module.c
nginx-1.14.0/src/http/modules/ngx_http_referer_module.c
nginx-1.14.0/src/http/modules/ngx_http_rewrite_module.c
nginx-1.14.0/src/http/modules/ngx_http_scgi_module.c
nginx-1.14.0/src/http/modules/ngx_http_secure_link_module.c
nginx-1.14.0/src/http/modules/ngx_http_ssl_module.c
nginx-1.14.0/src/http/modules/ngx_http_slice_filter_module.c
nginx-1.14.0/src/http/modules/ngx_http_split_clients_module.c
nginx-1.14.0/src/http/modules/ngx_http_ssi_filter_module.c
nginx-1.14.0/src/http/modules/ngx_http_ssi_filter_module.h
nginx-1.14.0/src/http/modules/ngx_http_ssl_module.h
nginx-1.14.0/src/http/modules/ngx_http_static_module.c
nginx-1.14.0/src/http/modules/ngx_http_stub_status_module.c
nginx-1.14.0/src/http/modules/ngx_http_sub_filter_module.c
nginx-1.14.0/src/http/modules/ngx_http_try_files_module.c
nginx-1.14.0/src/http/modules/ngx_http_upstream_hash_module.c
nginx-1.14.0/src/http/modules/ngx_http_upstream_keepalive_module.c
nginx-1.14.0/src/http/modules/ngx_http_uwsgi_module.c
nginx-1.14.0/src/http/modules/perl/
nginx-1.14.0/src/http/modules/ngx_http_upstream_least_conn_module.c
nginx-1.14.0/src/http/modules/ngx_http_upstream_zone_module.c
nginx-1.14.0/src/http/modules/ngx_http_userid_filter_module.c
nginx-1.14.0/src/http/modules/ngx_http_xslt_filter_module.c
nginx-1.14.0/src/http/modules/perl/Makefile.PL
nginx-1.14.0/src/http/modules/perl/nginx.pm
nginx-1.14.0/src/http/modules/perl/nginx.xs
nginx-1.14.0/src/http/modules/perl/typemap
nginx-1.14.0/src/http/modules/perl/ngx_http_perl_module.c
nginx-1.14.0/src/http/modules/perl/ngx_http_perl_module.h
nginx-1.14.0/src/event/modules/
nginx-1.14.0/src/event/ngx_event_accept.c
nginx-1.14.0/src/event/ngx_event.c
nginx-1.14.0/src/event/ngx_event.h
nginx-1.14.0/src/event/ngx_event_openssl_stapling.c
nginx-1.14.0/src/event/ngx_event_connect.c
nginx-1.14.0/src/event/ngx_event_connect.h
nginx-1.14.0/src/event/ngx_event_openssl.c
nginx-1.14.0/src/event/ngx_event_openssl.h
nginx-1.14.0/src/event/ngx_event_pipe.c
nginx-1.14.0/src/event/ngx_event_pipe.h
nginx-1.14.0/src/event/ngx_event_posted.c
nginx-1.14.0/src/event/ngx_event_posted.h
nginx-1.14.0/src/event/ngx_event_timer.c
nginx-1.14.0/src/event/ngx_event_timer.h
nginx-1.14.0/src/event/modules/ngx_win32_select_module.c
nginx-1.14.0/src/event/modules/ngx_devpoll_module.c
nginx-1.14.0/src/event/modules/ngx_epoll_module.c
nginx-1.14.0/src/event/modules/ngx_eventport_module.c
nginx-1.14.0/src/event/modules/ngx_kqueue_module.c
nginx-1.14.0/src/event/modules/ngx_poll_module.c
nginx-1.14.0/src/event/modules/ngx_select_module.c
nginx-1.14.0/src/core/ngx_array.c
nginx-1.14.0/src/core/nginx.c
nginx-1.14.0/src/core/nginx.h
nginx-1.14.0/src/core/ngx_conf_file.c
nginx-1.14.0/src/core/ngx_array.h
nginx-1.14.0/src/core/ngx_buf.c
nginx-1.14.0/src/core/ngx_buf.h
nginx-1.14.0/src/core/ngx_connection.c
nginx-1.14.0/src/core/ngx_conf_file.h
nginx-1.14.0/src/core/ngx_config.h
nginx-1.14.0/src/core/ngx_module.c
nginx-1.14.0/src/core/ngx_file.c
nginx-1.14.0/src/core/ngx_connection.h
nginx-1.14.0/src/core/ngx_core.h
nginx-1.14.0/src/core/ngx_cpuinfo.c
nginx-1.14.0/src/core/ngx_crc.h
nginx-1.14.0/src/core/ngx_crc32.c
nginx-1.14.0/src/core/ngx_crc32.h
nginx-1.14.0/src/core/ngx_crypt.c
nginx-1.14.0/src/core/ngx_crypt.h
nginx-1.14.0/src/core/ngx_cycle.c
nginx-1.14.0/src/core/ngx_cycle.h
nginx-1.14.0/src/core/ngx_parse.h
nginx-1.14.0/src/core/ngx_file.h
nginx-1.14.0/src/core/ngx_hash.c
nginx-1.14.0/src/core/ngx_hash.h
nginx-1.14.0/src/core/ngx_inet.c
nginx-1.14.0/src/core/ngx_inet.h
nginx-1.14.0/src/core/ngx_list.c
nginx-1.14.0/src/core/ngx_list.h
nginx-1.14.0/src/core/ngx_log.c
nginx-1.14.0/src/core/ngx_log.h
nginx-1.14.0/src/core/ngx_md5.c
nginx-1.14.0/src/core/ngx_md5.h
nginx-1.14.0/src/core/ngx_murmurhash.c
nginx-1.14.0/src/core/ngx_module.h
nginx-1.14.0/src/core/ngx_open_file_cache.c
nginx-1.14.0/src/core/ngx_murmurhash.h
nginx-1.14.0/src/core/ngx_slab.h
nginx-1.14.0/src/core/ngx_open_file_cache.h
nginx-1.14.0/src/core/ngx_output_chain.c
nginx-1.14.0/src/core/ngx_palloc.c
nginx-1.14.0/src/core/ngx_palloc.h
nginx-1.14.0/src/core/ngx_parse.c
nginx-1.14.0/src/core/ngx_thread_pool.c
nginx-1.14.0/src/core/ngx_parse_time.c
nginx-1.14.0/src/core/ngx_parse_time.h
nginx-1.14.0/src/core/ngx_proxy_protocol.c
nginx-1.14.0/src/core/ngx_proxy_protocol.h
nginx-1.14.0/src/core/ngx_queue.c
nginx-1.14.0/src/core/ngx_queue.h
nginx-1.14.0/src/core/ngx_radix_tree.c
nginx-1.14.0/src/core/ngx_radix_tree.h
nginx-1.14.0/src/core/ngx_rbtree.c
nginx-1.14.0/src/core/ngx_rbtree.h
nginx-1.14.0/src/core/ngx_regex.c
nginx-1.14.0/src/core/ngx_regex.h
nginx-1.14.0/src/core/ngx_resolver.c
nginx-1.14.0/src/core/ngx_resolver.h
nginx-1.14.0/src/core/ngx_rwlock.c
nginx-1.14.0/src/core/ngx_rwlock.h
nginx-1.14.0/src/core/ngx_sha1.c
nginx-1.14.0/src/core/ngx_sha1.h
nginx-1.14.0/src/core/ngx_shmtx.c
nginx-1.14.0/src/core/ngx_shmtx.h
nginx-1.14.0/src/core/ngx_slab.c
nginx-1.14.0/src/core/ngx_spinlock.c
nginx-1.14.0/src/core/ngx_string.c
nginx-1.14.0/src/core/ngx_string.h
nginx-1.14.0/src/core/ngx_syslog.c
nginx-1.14.0/src/core/ngx_syslog.h
nginx-1.14.0/src/core/ngx_thread_pool.h
nginx-1.14.0/src/core/ngx_times.c
nginx-1.14.0/src/core/ngx_times.h
nginx-1.14.0/contrib/geo2nginx.pl
nginx-1.14.0/contrib/README
nginx-1.14.0/contrib/unicode2nginx/
nginx-1.14.0/contrib/vim/
nginx-1.14.0/contrib/vim/ftdetect/
nginx-1.14.0/contrib/vim/ftplugin/
nginx-1.14.0/contrib/vim/indent/
nginx-1.14.0/contrib/vim/syntax/
nginx-1.14.0/contrib/vim/syntax/nginx.vim
nginx-1.14.0/contrib/vim/indent/nginx.vim
nginx-1.14.0/contrib/vim/ftplugin/nginx.vim
nginx-1.14.0/contrib/vim/ftdetect/nginx.vim
nginx-1.14.0/contrib/unicode2nginx/koi-utf
nginx-1.14.0/contrib/unicode2nginx/win-utf
nginx-1.14.0/contrib/unicode2nginx/unicode-to-nginx.pl
nginx-1.14.0/conf/fastcgi.conf
nginx-1.14.0/conf/fastcgi_params
nginx-1.14.0/conf/koi-utf
nginx-1.14.0/conf/koi-win
nginx-1.14.0/conf/mime.types
nginx-1.14.0/conf/nginx.conf
nginx-1.14.0/conf/scgi_params
nginx-1.14.0/conf/uwsgi_params
nginx-1.14.0/conf/win-utf
nginx-1.14.0/auto/cc/
nginx-1.14.0/auto/have_headers
nginx-1.14.0/auto/define
nginx-1.14.0/auto/endianness
nginx-1.14.0/auto/feature
nginx-1.14.0/auto/have
nginx-1.14.0/auto/lib/
nginx-1.14.0/auto/os/
nginx-1.14.0/auto/headers
nginx-1.14.0/auto/include
nginx-1.14.0/auto/init
nginx-1.14.0/auto/install
nginx-1.14.0/auto/types/
nginx-1.14.0/auto/make
nginx-1.14.0/auto/module
nginx-1.14.0/auto/modules
nginx-1.14.0/auto/nohave
nginx-1.14.0/auto/options
nginx-1.14.0/auto/sources
nginx-1.14.0/auto/stubs
nginx-1.14.0/auto/summary
nginx-1.14.0/auto/threads
nginx-1.14.0/auto/unix
nginx-1.14.0/auto/types/uintptr_t
nginx-1.14.0/auto/types/sizeof
nginx-1.14.0/auto/types/typedef
nginx-1.14.0/auto/types/value
nginx-1.14.0/auto/os/conf
nginx-1.14.0/auto/os/darwin
nginx-1.14.0/auto/os/freebsd
nginx-1.14.0/auto/os/linux
nginx-1.14.0/auto/os/solaris
nginx-1.14.0/auto/os/win32
nginx-1.14.0/auto/lib/geoip/
nginx-1.14.0/auto/lib/conf
nginx-1.14.0/auto/lib/google-perftools/
nginx-1.14.0/auto/lib/libatomic/
nginx-1.14.0/auto/lib/libgd/
nginx-1.14.0/auto/lib/libxslt/
nginx-1.14.0/auto/lib/openssl/
nginx-1.14.0/auto/lib/make
nginx-1.14.0/auto/lib/pcre/
nginx-1.14.0/auto/lib/perl/
nginx-1.14.0/auto/lib/zlib/
nginx-1.14.0/auto/lib/zlib/makefile.bcc
nginx-1.14.0/auto/lib/zlib/conf
nginx-1.14.0/auto/lib/zlib/make
nginx-1.14.0/auto/lib/zlib/makefile.msvc
nginx-1.14.0/auto/lib/zlib/makefile.owc
nginx-1.14.0/auto/lib/perl/conf
nginx-1.14.0/auto/lib/perl/make
nginx-1.14.0/auto/lib/pcre/makefile.bcc
nginx-1.14.0/auto/lib/pcre/conf
nginx-1.14.0/auto/lib/pcre/make
nginx-1.14.0/auto/lib/pcre/makefile.msvc
nginx-1.14.0/auto/lib/pcre/makefile.owc
nginx-1.14.0/auto/lib/openssl/makefile.bcc
nginx-1.14.0/auto/lib/openssl/conf
nginx-1.14.0/auto/lib/openssl/make
nginx-1.14.0/auto/lib/openssl/makefile.msvc
nginx-1.14.0/auto/lib/libxslt/conf
nginx-1.14.0/auto/lib/libgd/conf
nginx-1.14.0/auto/lib/libatomic/conf
nginx-1.14.0/auto/lib/libatomic/make
nginx-1.14.0/auto/lib/google-perftools/conf
nginx-1.14.0/auto/lib/geoip/conf
nginx-1.14.0/auto/cc/clang
nginx-1.14.0/auto/cc/acc
nginx-1.14.0/auto/cc/bcc
nginx-1.14.0/auto/cc/ccc
nginx-1.14.0/auto/cc/conf
nginx-1.14.0/auto/cc/gcc
nginx-1.14.0/auto/cc/icc
nginx-1.14.0/auto/cc/msvc
nginx-1.14.0/auto/cc/name
nginx-1.14.0/auto/cc/owc
nginx-1.14.0/auto/cc/sunc
5,解壓
tar -zxvf nginx-1.14.0.tar.gz -C /usr/local
6,cd到文件路勁
cd /usr/local/nginx-1.14.0
7,.編譯
./configure --prefix=/usr --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --pid-path=/var/run/nginx/nginx.pid --lock-path=/var/lock/nginx.lock --user=nginx --group=nginx --with-http_ssl_module --with-http_flv_module --with-http_gzip_static_module --http-log-path=/var/log/nginx/access.log --http-client-body-temp-path=/var/tem/nginx/client --http-proxy-temp-path=/var/tem/nginx/proxy --http-fastcgi-temp-path=/var/tem/nginx/fcgi --with-http_stub_status_module
8,安裝
make && make install
9,啓動 & 錯誤解析
nginx -c /etc/nginx/nginx.conf
[root@cloud-master nginx-1.14.0]# nginx -c /etc/nginx/nginx.conf
nginx: [emerg] getpwnam("nginx") failed
[root@cloud-master nginx-1.14.0]# useradd -s /sbin/nologin -M nginx
[root@cloud-master nginx-1.14.0]# id nginx
uid=1001(nginx) gid=1001(nginx) groups=1001(nginx)
[root@cloud-master nginx-1.14.0]# nginx -c /etc/nginx/nginx.conf
nginx: [emerg] mkdir() "/var/tem/nginx/client" failed (2: No such file or directory)
[root@cloud-master nginx-1.14.0]# mkdir -p /var/tem/nginx/client
[root@cloud-master nginx-1.14.0]# nginx -c /etc/nginx/nginx.conf
10,nginx 配置文件檢測
nginx -t -c /etc/nginx/nginx.conf
[root@cloud-master cloud-master]# nginx -t -c /etc/nginx/nginx.conf
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
安裝好Nginx後,查看進程
# ps aux | grep nginx
[root@cloud-master nginx-1.14.0]# ps aux | grep nginx
root 68307 0.0 0.0 45956 1124 ? Ss 13:59 0:00 nginx: master process nginx -c /etc/nginx/nginx.conf
nginx 68308 0.0 0.1 48488 1956 ? S 13:59 0:00 nginx: worker process
root 68383 0.0 0.0 112812 972 pts/0 S+ 14:01 0:00 grep --color=auto nginx
# nginx -V
[root@cloud-master nginx-1.14.0]# nginx -V
nginx version: nginx/1.14.0
built by gcc 4.8.5 20150623 (Red Hat 4.8.5-39) (GCC)
built with OpenSSL 1.0.2k-fips 26 Jan 2017
TLS SNI support enabled
configure arguments: --prefix=/usr --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/err or.log --pid-path=/var/run/nginx/nginx.pid --lock-path=/var/lock/nginx.lock --user=nginx --group=nginx --with-http_ssl_module --with -http_flv_module --with-http_gzip_static_module --http-log-path=/var/log/nginx/access.log --http-client-body-temp-path=/var/tem/ngin x/client --http-proxy-temp-path=/var/tem/nginx/proxy --http-fastcgi-temp-path=/var/tem/nginx/fcgi --with-http_stub_status_module
[root@cloud-master nginx-1.14.0]#
Nginx安裝路徑
在Nginx安裝路徑/usr/local/nginx-1.14.0/
[root@cloud-master nginx]# cd /usr/local/nginx-1.14.0/
[root@cloud-master nginx-1.14.0]# ls
auto CHANGES CHANGES.ru conf configure contrib html LICENSE Makefile man objs README src
conf: Nginx 配置文件
html: 網站默認根目錄
應該還有個logs(日誌目錄)和 sbin (Nginx軟件目錄,負責Nginx軟件,管理啓動,重啓,關閉,重載等)
配置只需要關心 nginx.conf
[root@cloud-master nginx]# pwd
/etc/nginx
[root@cloud-master nginx]# ls
fastcgi.conf fastcgi_params koi-utf mime.types nginx.conf scgi_params uwsgi_params win-utf
fastcgi.conf.default fastcgi_params.default koi-win mime.types.default nginx.conf.default scgi_params.default uwsgi_params.default
[root@cloud-master nginx]#
啓動Nginx
# nginx
[root@cloud-master nginx-1.14.0]# nginx
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] still could not bind()
[root@cloud-master nginx-1.14.0]# netstat -ntlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 1337/cupsd
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 71264/master
tcp 0 0 127.0.0.1:6010 0.0.0.0:* LISTEN 65424/sshd: root@pt
tcp 0 0 127.0.0.1:6011 0.0.0.0:* LISTEN 73911/sshd: root@pt
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 1/systemd
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 68810/nginx: master
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1332/sshd
tcp6 0 0 ::1:631 :::* LISTEN 1337/cupsd
tcp6 0 0 ::1:25 :::* LISTEN 71264/master
tcp6 0 0 ::1:6010 :::* LISTEN 65424/sshd: root@pt
tcp6 0 0 ::1:6011 :::* LISTEN 73911/sshd: root@pt
tcp6 0 0 :::3306 :::* LISTEN 71534/mysqld
tcp6 0 0 :::111 :::* LISTEN 1/systemd
tcp6 0 0 :::22 :::* LISTEN 1332/sshd
[root@cloud-master nginx-1.14.0]# ps -A | grep nginx
68810 ? 00:00:00 nginx
72101 ? 00:00:00 nginx
[root@cloud-master nginx-1.14.0]# kill 68810
[root@cloud-master nginx-1.14.0]# ps -A | grep nginx
[root@cloud-master nginx-1.14.0]# nginx
[root@cloud-master nginx-1.14.0]#
查看nginx 命令
# nginx -h
[root@cloud-master nginx-1.14.0]# nginx -h
nginx version: nginx/1.14.0
Usage: nginx [-?hvVtTq] [-s signal] [-c filename] [-p prefix] [-g directives]
Options:
-?,-h : this help
-v : show version and exit
-V : show version and configure options then exit
-t : test configuration and exit
-T : test configuration, dump it and exit
-q : suppress non-error messages during configuration testing
-s signal : send signal to a master process: stop, quit, reopen, reload
-p prefix : set prefix path (default: /usr/)
-c filename : set configuration file (default: /etc/nginx/nginx.conf)
-g directives : set global directives out of configuration file
[root@cloud-master nginx-1.14.0]#
[root@cloud-master ~]# whereis nginx
nginx: /usr/sbin/nginx /etc/nginx
1 啓動nginx服務
# nginx
2 重啓nginx服務
# nginx –s reload
3 停止nginx服務
# nginx –s stop
4 強制關閉nginx服務
# pkill nginx
看到默認路徑
-p prefix : set prefix path (default: /usr/)
-c filename : set configuration file (default: /etc/nginx/nginx.conf)
查看/etc/nginx/nginx.conf
配置很少,輕量級驗證
啓動之後,打開瀏覽器,輸入虛擬機ip 建立網站