Nginxの各種インストール方法とEOLまとめ

# はじめに

Nginxの各種インストール方法とそれぞれのEOLを纏めてみます。
EOLは**無償でパッチ提供が継続されるであろう期日**とし、各提供者が定義している個別のサポート名称や内容をあまり考慮していません。

# サマリ

|導入方法|OS|Nginx|EOL|参考|
|----|----|----|----|----|
|SCL|CentOS7|1.6|2016-10|[^1] [^2] [^3]|
|SCL|CentOS6,7|1.8|2018-11|[^1] [^2] [^3]|
|SCL|CentOS6,7|1.10|2020-04|[^1] [^2] [^3]|
|SCL|CentOS7|1.12|2019-10|[^1] [^2] [^3]|
|SCL|CentOS7|1.14|2020-11|[^1] [^2] [^3]|
|SCL|CentOS7|1.16|2021-12|[^1] [^2] [^3]|
|SCL|CentOS7|1.18|2022-11|[^1] [^2] [^3]|
|AppStream|CentOS8|1.14|2021-05|[^4] [^9]|
|AppStream|CentOS8|1.16|2021-10|[^4] [^9]|
|AppStream|Alma/Rocky8|1.14|2021-05|[^4] [^9]|
|AppStream|Alma/Rocky8|1.16|2021-10|[^4] [^9]|
|AppStream|Alma/Rocky8|1.18|2022-11|[^4] [^9]|
|AppStream|Alma/Rocky8|1.20|2023-11|[^4] [^9]|
|AppStream|Alma/Rocky8|1.22|2025-11|[^4] [^9]|
|AppStream|Alma/Rocky9|1.20|OS EOL?|[^4] [^9]|
|AppStream|Alma/Rocky9|1.22|2025-11|[^4] [^9]|
|OS標準|Debian8|1.6|2020-06-30|[^5]|
|OS標準|Debian9|1.10|2022-06-30|[^5]|
|OS標準|Debian10|1.14|2024-xx-xx|[^5]|
|OS標準|Debian11|1.18|2026-xx-xx|[^5]|
|OS標準|Debian12|1.22|2028-xx-xx|[^5]|
|OS標準|Ubuntu14.04|1.4|2019-04|[^6]|
|OS標準|Ubuntu16.04|1.10|2021-04|[^6]|
|OS標準|Ubuntu18.04|1.14|2023-04|[^6]|
|OS標準|Ubuntu20.04|1.17 → 1.18|2025-04|[^6]|
|OS標準|Ubuntu22.04|1.18|2027-04|[^6]|
|その他|-|-|1年毎更新|[^10]|

[^1]: [Red Hat Enterprise Linux Life Cycle - Red Hat Customer Portal](https://access.redhat.com/support/policy/updates/errata)
[^2]: [About/Product - CentOS Wiki](https://wiki.centos.org/About/Product)
[^3]: [Red Hat Software Collections Product Life Cycle - Red Hat Customer Portal](https://access.redhat.com/support/policy/updates/rhscl)
[^4]: [Red Hat Enterprise Linux 8 Application Streams Life Cycle - Red Hat Customer Portal](https://access.redhat.com/node/4079021)
[^5]: [LTS \- Debian Wiki](https://wiki.debian.org/LTS)
[^6]: [Releases - Ubuntu Wiki](https://wiki.ubuntu.com/Releases)
[^7]: [Index of /centos/6/sclo/x86_64](http://mirror.centos.org/centos/6/sclo/x86_64/)
[^8]: [Index of /centos/7/sclo/x86_64](http://mirror.centos.org/centos/7/sclo/x86_64/)
[^9]: [Index of /centos/8/AppStream/x86_64](http://mirror.centos.org/centos/8/AppStream/x86_64/)

[^10]: [Introducing NGINX 1.16 and 1.17 - NGINX](https://www.nginx.com/blog/nginx-1-16-1-17-released/)にあるように、毎年バージョンが更新される。

# 各種導入方法

## OS標準

- CentOS
- Debian
    - [Debian](https://qiita.com/witchcraze/items/cbf6cf04531dbc50a6f9)
    - [Debian9](https://qiita.com/witchcraze/items/ac23f0c845ef3aa7088e)
    - [Debian10](https://qiita.com/witchcraze/items/4bba0cc8c2f64e557bbe)
    - [Debian11](https://qiita.com/witchcraze/items/09d2fda92241aad44bbf)
    - [Debian12](https://qiita.com/witchcraze/items/2409a8e159f38cbb1c42)
- Ubuntu
    - [Ubuntu14.04](https://qiita.com/witchcraze/items/43d4853aa2e90061c0b4)
    - [Ubuntu16.04](https://qiita.com/witchcraze/items/acb275ca7acc13656f35)
    - [Ubuntu18.04](https://qiita.com/witchcraze/items/eabad365fb8c092880c1)
    - [Ubuntu20.04](https://qiita.com/witchcraze/items/e3f83de527da57b87f86)
    - [Ubuntu22.04](https://qiita.com/witchcraze/items/2283a066cd448500227b)

## CentOS + Software Collections(SCL)

- CentOS6
    - [CentOS6 Nginx1.8](https://qiita.com/witchcraze/items/be3e9fe07a941d59e858)
    - [CentOS6 Nginx1.10](https://qiita.com/witchcraze/items/53d94bd3a1a4c6516477)
- CentOS7
    - [CentOS7 Nginx1.6](https://qiita.com/witchcraze/items/a0810c48a2b3640902e8)
    - [CentOS7 Nginx1.8](https://qiita.com/witchcraze/items/79567ad4ea14a1dc706a)
    - [CentOS7 Nginx1.10](https://qiita.com/witchcraze/items/0a34f1ead141fe5c3f7d)
    - [CentOS7 Nginx1.12](https://qiita.com/witchcraze/items/440623396be3748694eb)
    - [CentOS7 Nginx1.14](https://qiita.com/witchcraze/items/007b34eeea582fd5e79e)
    - [CentOS7 Nginx1.16](https://qiita.com/witchcraze/items/383a1b1abd7572e42e43)
    - [CentOS7 Nginx1.18](https://qiita.com/witchcraze/items/0c0bb3becd7c0ea2a968)

## Application Stream(AppStream)

- CentOS8
    - [Nginx 1.14](https://qiita.com/witchcraze/items/b71cb1c693c7fb9b58d7)
    - [Nginx 1.16](https://qiita.com/witchcraze/items/7ff13f2bb90667b6b954)
- AlmaLinux8
    - [Nginx 1.14](https://qiita.com/witchcraze/items/5b2f9881df1307bafcea)
    - [Nginx 1.16](https://qiita.com/witchcraze/items/9aa1cfd1b8c35430265a)
    - [Nginx 1.18](https://qiita.com/witchcraze/items/3a93c3f13f759eb0ea94)
    - [Nginx 1.20](https://qiita.com/witchcraze/items/eaf40d9582b41f6f38bd)
    - [Nginx 1.22](https://qiita.com/witchcraze/items/56e3480053b865a7ec99)
- RockyLinux8
    - [Nginx 1.14](https://qiita.com/witchcraze/items/34e341ed7c1d86b35d3c)
    - [Nginx 1.16](https://qiita.com/witchcraze/items/85e4164870566a995fe0)
    - [Nginx 1.18](https://qiita.com/witchcraze/items/b9782c6f1ad851946f48)
    - [Nginx 1.20](https://qiita.com/witchcraze/items/7583a3b7625330420977)
    - [Nginx 1.22](https://qiita.com/witchcraze/items/a09c3dd5c9587ae96dfb)
- AlmaLinux9
    - [Nginx 1.20](https://qiita.com/witchcraze/items/46b69f5f7993402393d6)
    - [Nginx 1.22](https://qiita.com/witchcraze/items/115c98da1ca646f5398d)
- RockyLinux9
    - [Nginx 1.20](https://qiita.com/witchcraze/items/63a162b1f59a2efa08ae)
    - [Nginx 1.22](https://qiita.com/witchcraze/items/925049b22a5adc29e733)

## Official Repository

- CentOS
    - [CentOS6 mainline](https://qiita.com/witchcraze/items/5d42c4df9c34a96cd420)
    - [CentOS6 stable](https://qiita.com/witchcraze/items/6e40c0c15c44512049f0)
    - [CentOS7 mainline](https://qiita.com/witchcraze/items/634f65db7bf0e19e48ba)
    - [CentOS7 stable](https://qiita.com/witchcraze/items/081ee1470e5fce922ad4)
    - [CentOS8 mainline](https://qiita.com/witchcraze/items/7cd166637a1ed00fb99c)
    - [CentOS8 stable](https://qiita.com/witchcraze/items/64663ec9c7981f4021d6)
- Debian
    - [Debian9 mainline](https://qiita.com/witchcraze/items/411cb28a887e1f8b0eb0)
    - [Debian9 stable](https://qiita.com/witchcraze/items/deba3dd0e65b2c904e91)
    - [Debian10 mainline](https://qiita.com/witchcraze/items/fa951f1022ba53f13720)
    - [Debian10 stable](https://qiita.com/witchcraze/items/c08deb7425e7189c7c96)
    - [Debian11 mainline](https://qiita.com/witchcraze/items/d94fa34dc67c53124bac)
    - [Debian11 stable](https://qiita.com/witchcraze/items/1875526e4f929c93c1c4)
    - [Debian12 mainline](https://qiita.com/witchcraze/items/461f40f716190930c6a2)
    - [Debian12 stable](https://qiita.com/witchcraze/items/85ba7d28e395fbf08fb0)
- Ubuntu
    - [Ubuntu16.04 mainline](https://qiita.com/witchcraze/items/18fbc4aa6c266335772f)
    - [Ubuntu16.04 stable](https://qiita.com/witchcraze/items/cccf29152fa0659893e4)
    - [Ubuntu18.04 mainline](https://qiita.com/witchcraze/items/c904f9fab4bca33d6ebc)
    - [Ubuntu18.04 stable](https://qiita.com/witchcraze/items/2172ab6cbe0d29cf2507)
    - [Ubuntu20.04 mainline](https://qiita.com/witchcraze/items/36385da93b4bc3d08cca)
    - [Ubuntu20.04 stable](https://qiita.com/witchcraze/items/9b958309303561c84efe)
    - [Ubuntu22.04 mainline](https://qiita.com/witchcraze/items/a04c4a54188a0f559a98)
    - [Ubuntu22.04 stable](https://qiita.com/witchcraze/items/57bb1b5dfe578727ffb6)