@@ -0,0 +1,14 @@
+events {
+ worker_connections 1024;
+}
+
+http {
+ server {
+ listen 80;
+ server_name _;
+ location / {
+ root /usr/share/nginx/html;
+ index index.html;
+ }
@@ -0,0 +1 @@
+this is a test website...
@@ -7,7 +7,6 @@ services:
- 80:80
- 443:443
volumes:
- - ./config/nginx.conf:/etc/nginx/nginx.conf
- - ./certs:/etc/nginx/certs
+ - ./config:/etc/nginx
- ./data:/usr/share/nginx/html
restart: unless-stopped