updated minimal nginx config

This commit is contained in:
Christian Lempa 2024-04-24 17:40:07 +02:00
parent 630deefa72
commit fd80043041
3 changed files with 16 additions and 2 deletions

View File

@ -0,0 +1,14 @@
events {
worker_connections 1024;
}
http {
server {
listen 80;
server_name _;
location / {
root /usr/share/nginx/html;
index index.html;
}
}
}

View File

@ -0,0 +1 @@
this is a test website...

View File

@ -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