change config to be simplified

This commit is contained in:
Christian Lempa 2024-04-24 17:46:23 +02:00
parent fd80043041
commit 68d5a442d5
3 changed files with 10 additions and 16 deletions

View File

@ -0,0 +1,8 @@
server {
listen 80;
server_name _;
location / {
root /usr/share/nginx/html;
index index.html;
}
}

View File

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

View File

@ -7,6 +7,6 @@ services:
- 80:80
- 443:443
volumes:
- ./config:/etc/nginx
- ./data:/usr/share/nginx/html
- ./config/default.conf:/etc/nginx/conf.d/default.conf:ro
- ./data:/usr/share/nginx/html:ro
restart: unless-stopped