This commit is contained in:
Christian Lempa 2024-04-26 15:33:47 +02:00
parent 62f9ab3b6f
commit 7c049d8aea
2 changed files with 6 additions and 5 deletions

View File

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

View File

@ -5,7 +5,8 @@ services:
container_name: nginx
ports:
- 80:80
- 443:443
# (optional) uncomment the line below to enable HTTPS
# - 443:443
volumes:
- ./config/default.conf:/etc/nginx/conf.d/default.conf:ro
- ./data:/usr/share/nginx/html:ro