Skip to content

Commit

Permalink
Add favicon section to nginx example in server-setup
Browse files Browse the repository at this point in the history
  • Loading branch information
relekang committed Jan 15, 2017
1 parent 0f330ea commit 367a382
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions server-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,14 @@ server {
proxy_set_header Host $host;
proxy_pass http://localhost:3000;
}
# This will avoid favicon.ico being counted when you test the service
# in the browser.
location = /favicon.ico {
access_log off;
log_not_found off;
return 204;
}
}
```

Expand Down

0 comments on commit 367a382

Please sign in to comment.