mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-08 04:55:03 +00:00
Add configuration file for Redis and Nginx
This commit is contained in:
parent
3240965f0a
commit
66f2dacaf8
@ -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
16
test/etc/nginx.conf
Normal 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
3
test/etc/redis.conf
Normal file
@ -0,0 +1,3 @@
|
||||
bind 10.0.2.15
|
||||
protected-mode no
|
||||
port 6379
|
Loading…
x
Reference in New Issue
Block a user