Nginx: Difference between revisions
Created page with "[http://nginx.org/ Nginx]" |
No edit summary |
||
Line 1: | Line 1: | ||
[http://nginx.org/ Nginx] | [http://nginx.org/ Nginx] | ||
Nginx 已被证明具有极高的稳定性、高性能和高可靠性,并提供了一套强大的工具。 | |||
与 [https://httpd.apache.org/ Apache] 相比, Nginx 具有的优势: | |||
# 轻量 | |||
# 占用内存少 | |||
# 配置项更丰富 | |||
# 高负载下性能更好 | |||
=== Installation === | |||
官方 repo 配置 请参考 [http://nginx.org/en/linux_packages.html nginx.org] | |||
=== Configuration === | |||
<code>/etc/nginx/nginx.conf</code> 包含全局配置, 任何站点配置请放在 <code>/etc/nginx/conf.d/</code> 目录下. | |||
=== Performance === | |||
# 启用gzip压缩 | |||
# | |||
=== Caching === |