Add configuration file for Redis and Nginx

This commit is contained in:
Yuke Peng 2024-09-14 12:56:27 +08:00 committed by Tate, Hongliang Tian
parent 3240965f0a
commit 66f2dacaf8
3 changed files with 20 additions and 2 deletions

View File

@ -81,8 +81,7 @@ $(INITRAMFS)/lib64:
$(INITRAMFS)/etc:
@mkdir -p $@
@cp $(CUR_DIR)/etc/passwd $@
@cp $(CUR_DIR)/etc/group $@
@cp $(CUR_DIR)/etc/* $@
# Install busybox into /bin and /usr/bin.
$(INITRAMFS)/bin:

16
test/etc/nginx.conf Normal file
View File

@ -0,0 +1,16 @@
user root;
events {
}
http {
include mime.types;
server {
listen 10.0.2.15:8080;
location / {
autoindex on;
}
}
}

3
test/etc/redis.conf Normal file
View File

@ -0,0 +1,3 @@
bind 10.0.2.15
protected-mode no
port 6379