Skip to content

Commit

Permalink
Merge pull request #187 from codedge/master
Browse files Browse the repository at this point in the history
No logs for favicon and robots
  • Loading branch information
codedge authored Aug 17, 2020
2 parents d1a8922 + 5942c1c commit e64dd79
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion config/nginx/in-vhost.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
server {
listen 80;
listen 80 default_server;
server_name in.localhost;

root /var/www/app/public/;
Expand All @@ -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;
Expand Down

0 comments on commit e64dd79

Please sign in to comment.