update README: add nginx example - twitch-go - twitch.tv web application in Go
 (HTM) git clone git://git.codemadness.org/twitch-go
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 3a9ba3f6a4a7193f509542eff2f1db956f446ce9
 (DIR) parent 41ee1372d6bd39c4b158fe286bce4babffdb5a54
 (HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
       Date:   Sun, 26 Jul 2015 12:10:24 +0200
       
       update README: add nginx example
       
       Diffstat:
         M README                              |      18 ++++++++++++++++++
       
       1 file changed, 18 insertions(+), 0 deletions(-)
       ---
 (DIR) diff --git a/README b/README
       @@ -36,3 +36,21 @@ Install as OpenBSD daemon:
                rc_cmd $1
        
        - Start the daemon: /etc/rc.d/twitch start
       +
       +
       +Forward (reverse-proxy) using nginx:
       +====================================
       +
       +- In the OpenBSD daemon example above it will use a UNIX domain socket to
       +  communicate with the web server at /var/www/domains/twitch.codemadness.org/twitch.sock .
       +  See the -t and -l option to change the listen type and address.
       +- In /etc/nginx/nginx.conf (or the location for your sites) add:
       +
       +        server {
       +                listen 80;
       +                server_name twitch.codemadness.org twitch.codemadness.nl;
       +        
       +                location / {
       +                        proxy_pass "http://unix:/domains/twitch.codemadness.org/twitch.sock:/";
       +                }
       +        }