-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathexample-file-structure.txt
More file actions
51 lines (49 loc) · 1.56 KB
/
Copy pathexample-file-structure.txt
File metadata and controls
51 lines (49 loc) · 1.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/
├── etc
│ ├── nginx
│ │ ├── default.conf
│ │ ├── mime.types
│ │ ├── mime.types.default
│ │ ├── nginx.conf
│ │ └── ... (other Nginx config files)
│ ├── passwd
│ └── group
├── lib
│ ├── ld-musl-x86_64.so.1
│ ├── libcrypto.so.3
│ ├── libpcre.so.1
│ ├── libssl.so.3
│ └── libz.so.1
├── usr
│ └── local
│ └── sbin
│ └── nginx
└── var
├── log
│ └── nginx
│ ├── access.log
│ └── error.log
├── run
│ └── nginx.pid
└── www
└── index.html
# Total file count: ~27 files
# Total directory count: ~15 directories
# Approximate total size: 4.8MB
# Notes:
# - The image is extremely minimal with only essential files
# - No shell, package manager, or system utilities are included
# - All Nginx dependencies are contained in /lib
# - Configuration follows standard Linux path conventions:
# - Nginx configs in /etc/nginx/
# - Executable in /usr/local/sbin/
# - Web content in /var/www/
# - Logs in /var/log/nginx/
# - Three mountable volumes:
# - /etc/nginx - For custom configuration
# - /var/log/nginx - For persistent logs
# - /var/www - For web content
# - Nginx is configured to run as the 'nobody' user
# - Proper passwd and group files created to support the 'nobody' user
# - Nginx is invoked directly with:
# nginx -g "daemon off;" -c /etc/nginx/nginx.conf