Nginx 1.24, 1.26, 1.27.3 incomplete install
Bug #2096833 reported by
ronald
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nginx (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Using Ubuntu 24.0.4.1
Beside that the menitioned versions does not create the directories sites-available, sites-enabled and snippets
It also does not make virtual hsosts, working on different IPaddresses and port numbers, working
What is only working is ipaddress 0.0.0.0 with port 80 other selections does not work as the Nginx software does not create to host in the network
Also modules can't be installed like the Maxmind GEOIP one.
To post a comment you must log in.
Thanks for reaching out. on Ubuntu 24.04, the only Ubuntu supported version of nginx is
apt-cache policy nginx
nginx:
Installed: 1.24.0-2ubuntu7.1
Candidate: 1.24.0-2ubuntu7.1
in a fresh 24.04 vm, I installed nginx and see everything in /etc/nginx
sudo apt install nginx
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
nginx-common
Suggested packages:
fcgiwrap nginx-doc ssl-cert
The following NEW packages will be installed:
nginx nginx-common
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 552 kB of archives.
... <snip> ...
service nginx status systemd/ system/ nginx.service; enabled; preset: enabled) /usr/sbin/ nginx -t -q -g daemon on; master_process on; (code=exited, status=0/SUCCESS) /usr/sbin/ nginx -g daemon on; master_process on; (code=exited, status=0/SUCCESS) slice/nginx. service
● nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/usr/lib/
Active: active (running) since Wed 2025-01-29 15:37:42 UTC; 28s ago
Docs: man:nginx(8)
Process: 1115 ExecStartPre=
Process: 1117 ExecStart=
Main PID: 1118 (nginx)
Tasks: 2 (limit: 1102)
Memory: 1.7M (peak: 1.9M)
CPU: 8ms
CGroup: /system.
├─1118 "nginx: master process /usr/sbin/nginx -g daemon on; master_process on;"
└─1119 "nginx: worker process"
ls -al /etc/nginx
total 76
drwxr-xr-x 8 root root 4096 Jan 29 15:37 .
drwxr-xr-x 107 root root 4096 Jan 29 15:37 ..
drwxr-xr-x 2 root root 4096 Sep 10 13:27 conf.d
-rw-r--r-- 1 root root 1125 Nov 30 2023 fastcgi.conf
-rw-r--r-- 1 root root 1055 Nov 30 2023 fastcgi_params
-rw-r--r-- 1 root root 2837 Nov 30 2023 koi-utf
-rw-r--r-- 1 root root 2223 Nov 30 2023 koi-win
-rw-r--r-- 1 root root 5465 Nov 30 2023 mime.types
drwxr-xr-x 2 root root 4096 Sep 10 13:27 modules-available
drwxr-xr-x 2 root root 4096 Sep 10 13:27 modules-enabled
-rw-r--r-- 1 root root 1446 Nov 30 2023 nginx.conf
-rw-r--r-- 1 root root 180 Nov 30 2023 proxy_params
-rw-r--r-- 1 root root 636 Nov 30 2023 scgi_params
drwxr-xr-x 2 root root 4096 Jan 29 15:37 sites-available
drwxr-xr-x 2 root root 4096 Jan 29 15:37 sites-enabled
drwxr-xr-x 2 root root 4096 Jan 29 15:37 snippets
-rw-r--r-- 1 root root 664 Nov 30 2023 uwsgi_params
-rw-r--r-- 1 root root 3071 Nov 30 2023 win-utf
within sites-available, i see a default vhost with [::80] enabled and root /var/www/html
Could you provide your installation methods?