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
● nginx.service - A high performance web server and a reverse proxy server
     Loaded: loaded (/usr/lib/systemd/system/nginx.service; enabled; preset: 
enabled)
     Active: active (running) since Wed 2025-01-29 15:37:42 UTC; 28s ago
       Docs: man:nginx(8)
    Process: 1115 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; 
master_process on; (code=exited, status=0/SUCCESS)
    Process: 1117 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; 
(code=exited, status=0/SUCCESS)
   Main PID: 1118 (nginx)
      Tasks: 2 (limit: 1102)
     Memory: 1.7M (peak: 1.9M)
        CPU: 8ms
     CGroup: /system.slice/nginx.service
             ├─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?


** Changed in: nginx (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2096833

Title:
  Nginx 1.24, 1.26, 1.27.3 incomplete install

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/2096833/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to