Ubuntu 26.04

Nginx : Install2026/05/27

 

Install fast HTTP Server [Nginx] and configure HTTP/Proxy Server with it.

[1] Install Nginx.
root@www:~#
apt -y install nginx
[2] Configure basic settings.
root@www:~#
vi /etc/nginx/sites-available/default
# line 46 : change to your hostname

server_name
www.srv.world
;
root@www:~#
systemctl reload nginx

[3] If UFW is enabled, allow HTTP service.
root@dlp:~#
ufw allow http

Rule added
Rule added (v6)
[4] Access to the default page of Nginx from a Client with Web browser and that's OK if the following page are shown.
Matched Content