diff --git a/tastyigniter/docker-compose.yml b/tastyigniter/docker-compose.yml index 1b26589..a69f7f5 100644 --- a/tastyigniter/docker-compose.yml +++ b/tastyigniter/docker-compose.yml @@ -41,6 +41,8 @@ services: image: nginx:alpine container_name: tastyigniter-nginx restart: unless-stopped + # ports: + # - "80:80" volumes: - ./:/var/www/html - ./docker/nginx:/etc/nginx/conf.d diff --git a/tastyigniter/docker/nginx/default.conf b/tastyigniter/docker/nginx/default.conf index 80beb17..6beeaad 100644 --- a/tastyigniter/docker/nginx/default.conf +++ b/tastyigniter/docker/nginx/default.conf @@ -1,7 +1,7 @@ server { listen 80; index index.php index.html; - server_name localhost; + server_name _; root /var/www/html/public; location / {