add files
This commit is contained in:
parent
8e83af8c61
commit
4fcf4888d1
9
default.conf
Normal file
9
default.conf
Normal file
@ -0,0 +1,9 @@
|
||||
server {
|
||||
location / {
|
||||
root /data/www;
|
||||
}
|
||||
location = /register {
|
||||
root /data/www;
|
||||
index register.html;
|
||||
}
|
||||
}
|
9
docker-compose.yml.example
Normal file
9
docker-compose.yml.example
Normal file
@ -0,0 +1,9 @@
|
||||
services:
|
||||
mail:
|
||||
image: nginx
|
||||
restart: always
|
||||
ports:
|
||||
- 2380:80
|
||||
volumes:
|
||||
- /path/to/root/default.conf:/etc/nginx/conf.d/default.conf
|
||||
- /path/to/root/public:/data/www/
|
Reference in New Issue
Block a user