Merge pull request #37 from Mkaysi/httpd

use/httpserver.rst: add nginx reverse proxy
This commit is contained in:
Valentin Lorentz 2014-10-15 09:28:30 +02:00
commit c6205fc441

View File

@ -45,6 +45,20 @@ not):
</Location> </Location>
</VirtualHost> </VirtualHost>
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 Templates
========= =========