From 4fcf4888d18388b5592f64bf4e6d0023d03677c8 Mon Sep 17 00:00:00 2001 From: Aidan Date: Tue, 3 Dec 2024 01:47:43 -0500 Subject: [PATCH] add files --- default.conf | 9 +++++++++ docker-compose.yml.example | 9 +++++++++ 2 files changed, 18 insertions(+) create mode 100644 default.conf create mode 100644 docker-compose.yml.example diff --git a/default.conf b/default.conf new file mode 100644 index 0000000..4f7f64b --- /dev/null +++ b/default.conf @@ -0,0 +1,9 @@ +server { + location / { + root /data/www; + } + location = /register { + root /data/www; + index register.html; + } +} \ No newline at end of file diff --git a/docker-compose.yml.example b/docker-compose.yml.example new file mode 100644 index 0000000..79d4926 --- /dev/null +++ b/docker-compose.yml.example @@ -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/ \ No newline at end of file