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