Skip to content

Commit 367a382

Browse files
committed
Add favicon section to nginx example in server-setup
1 parent 0f330ea commit 367a382

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

server-setup.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,14 @@ server {
4242
proxy_set_header Host $host;
4343
proxy_pass http://localhost:3000;
4444
}
45+
46+
# This will avoid favicon.ico being counted when you test the service
47+
# in the browser.
48+
location = /favicon.ico {
49+
access_log off;
50+
log_not_found off;
51+
return 204;
52+
}
4553
}
4654
```
4755

0 commit comments

Comments
 (0)