diff --git a/docker-compose.yml b/docker-compose.yml index 245a8fb..bdb6055 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -10,8 +10,8 @@ services: - "80" restart: unless-stopped # Uncomment the following lines if you want to mount the configuration locally for development/testing - volumes: - - ./nginx.conf:/etc/nginx/conf.d/default.conf:ro + # volumes: + # - ./nginx.conf:/etc/nginx/conf.d/default.conf:ro networks: - npm_public diff --git a/nginx.conf b/nginx.conf index 45be951..f207243 100644 --- a/nginx.conf +++ b/nginx.conf @@ -1,6 +1,7 @@ server { listen 80; - server_name localhost; + listen [::]:80; + server_name _; root /usr/share/nginx/html; index index.html;