diff --git a/config/nginx/in-vhost.conf b/config/nginx/in-vhost.conf index ad67147..22c4510 100644 --- a/config/nginx/in-vhost.conf +++ b/config/nginx/in-vhost.conf @@ -1,5 +1,5 @@ server { - listen 80; + listen 80 default_server; server_name in.localhost; root /var/www/app/public/; @@ -9,6 +9,9 @@ server { try_files $uri $uri/ /index.php?$query_string; } + location = /favicon.ico { access_log off; log_not_found off; } + location = /robots.txt { access_log off; log_not_found off; } + location ~ \.php$ { fastcgi_split_path_info ^(.+\.php)(/.+)$; fastcgi_pass app:9000;