From 367a3823bf326697cd6e67382f6e35e218d22296 Mon Sep 17 00:00:00 2001 From: Rolf Erik Lekang Date: Sun, 15 Jan 2017 19:31:39 +0100 Subject: [PATCH] Add favicon section to nginx example in server-setup --- server-setup.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/server-setup.md b/server-setup.md index bd4a010..da89ef5 100644 --- a/server-setup.md +++ b/server-setup.md @@ -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; + } } ```