diff --git a/docker-compose/nginx/config/default.conf b/docker-compose/nginx/config/default.conf index 2266fd5..a2f1d40 100644 --- a/docker-compose/nginx/config/default.conf +++ b/docker-compose/nginx/config/default.conf @@ -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; + } } diff --git a/docker-compose/nginx/docker-compose.yaml b/docker-compose/nginx/docker-compose.yaml index 58922ab..8a8d84e 100644 --- a/docker-compose/nginx/docker-compose.yaml +++ b/docker-compose/nginx/docker-compose.yaml @@ -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