Install Nginx

Contents
Introduction
Install guides
Which version you get

Introduction

Nginx (engine x) is a web server, reverse proxy and mail proxy. It was built for Unix-like systems and is tested on FreeBSD, OpenBSD, Linux, Solaris, macOS, AIX and HP-UX. Since version 0.7.52 there is also a binary build for Windows.

Igor Sysoev started Nginx in 2002 and published the first release in autumn 2004. Since July 2011 the company Nginx, Inc. develops it; F5 bought the company in 2019.

Install guides
Install Nginx on Linux
Install Nginx on Debian
Install Nginx on Ubuntu
Install Nginx on Windows
Install Nginx on FreeBSD, OpenBSD and macOS

Which version you get

Each system installs the version its packagers chose, not the newest one. These are the versions the package managers installed on 26 October 2026, checked in fresh containers. On that day nginx.org offered 1.30.6 as the stable version and 1.31.8 as mainline.

SystemCommandNginx
Debian 13 (trixie)apt install nginx1.26.3
Ubuntu 24.04 LTSapt install nginx1.24.0
Ubuntu 22.04 LTSapt install nginx1.18.0
Rocky Linux 9.8dnf install nginx1.20.1, or 1.26.3 from the nginx:1.26 module
Fedora 44dnf install nginx1.30.6
Alpine Linux 3.24apk add nginx1.30.6

For a newer version on Debian, Ubuntu or Rocky Linux see Newer versions from nginx.org. After the install, the configuration and your own sites are explained in nginx.conf: configuration and sites.

Search this site

Channel @aofeed Chat @aofeedchat

Contacts and cooperation:
I recommend our hosting beget.com
Write to info@aredel.com if you:
1. Want to write an article for our site or translate an article into your native language.
2. Want to place thematically relevant ads on the site.
3. Ads on my site pass maximum censorship. If you see an ad block unsuitable for school-age children, shocking or misleading - please contact us by e-mail
4. Found a mistake, inaccuracy, bug, etc. on the site. ... .......
5. Articles can be shared on social media by clicking a network icon: