add files

This commit is contained in:
Aidan 2024-12-03 01:47:43 -05:00
parent 8e83af8c61
commit 4fcf4888d1
2 changed files with 18 additions and 0 deletions

9
default.conf Normal file
View File

@ -0,0 +1,9 @@
server {
location / {
root /data/www;
}
location = /register {
root /data/www;
index register.html;
}
}

View 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/