Permalink
Browse files

nginx is now optional

  • Loading branch information...
1 parent 52836fc commit 06a165ba0de0c753ecf301f024e20be34b7fa4dd @bobrik committed Aug 14, 2012
Showing with 7 additions and 2 deletions.
  1. +7 −2 README.md
View
@@ -61,7 +61,11 @@ Save it to `~/mypupergrep/server.js`. Run it right after that:
node server.js
```
-Let's configure nginx (I don't want to make node.js serve static files). Example configuration:
+Now cross your fingers and open `http://127.0.0.1:8080/` in your favorite browser. This is it!
+
+## Nginx configuration (optional)
+
+If you want nginx in front of your logs for security or whatever, this is example config:
```
server {
@@ -80,7 +84,8 @@ server {
}
```
-Now cross your fingers and open `http://127.0.0.1/` in your favorite browser. This is it!
+This way you may open `http://127.0.0.1/` and enjoy your logs. Note that nginx does not support
+websockets yet and you'll need to wait for 2 seconds to switch from ws to xhr-polling.
## Troubles

0 comments on commit 06a165b

Please sign in to comment.