From c1fab4dd3c9e5a9cd3db27c4525248cc58757948 Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Wed, 15 Oct 2014 09:13:25 +0300 Subject: [PATCH] use/httpserver.rst: add nginx reverse proxy --- use/httpserver.rst | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/use/httpserver.rst b/use/httpserver.rst index eda6d00..2b13980 100644 --- a/use/httpserver.rst +++ b/use/httpserver.rst @@ -45,6 +45,20 @@ not): +It's also possible to use Nginx in front of Supybot's HTTP server. Create a new site ``/etc/nginx/sites-enabled/bot``: + +.. code-block:: nginx + + server { + listen 80; + listen [::]:80; + server_name stats.yourdomain.org; + + location / { + proxy_pass http://localhost:8080/; + } + } + Templates =========