serving index.html

This commit is contained in:
2025-11-16 13:24:11 +00:00
parent ed7bf5b983
commit 53bb14d7a3
2 changed files with 1 additions and 5 deletions

View File

@@ -10,7 +10,7 @@ services:
- ./nginx/nginx.conf:/etc/nginx/nginx.conf - ./nginx/nginx.conf:/etc/nginx/nginx.conf
- ./certbot/conf:/etc/letsencrypt - ./certbot/conf:/etc/letsencrypt
- ./certbot/www:/var/www/certbot - ./certbot/www:/var/www/certbot
- ./html:/usr/share/nginx/html - ./html/:/etc/nginx/html:ro
certbot: certbot:
image: certbot/certbot image: certbot/certbot

View File

@@ -14,9 +14,5 @@ http {
location ~ /.well-known/acme-challenge/ { location ~ /.well-known/acme-challenge/ {
root /var/www/certbot; root /var/www/certbot;
} }
location / {
proxy_pass http://helloworld:8000/;
}
} }
} }