Merge pull request #41 from Mkaysi/nginx

httpserver.rst: add comments on listen & https
This commit is contained in:
Valentin Lorentz 2014-11-15 20:48:23 +01:00
commit 235d8f9692

View File

@ -50,8 +50,13 @@ It's also possible to use Nginx in front of Supybot's HTTP server. Create a new
.. code-block:: nginx
server {
# Note that your default server should specify these ports
listen 80;
listen [::]:80;
# If your default server also has https configured, uncomment
# the following two listen lines to enable it for this vhost.
#listen 443;
#listen [::]:443;
server_name stats.yourdomain.org;
location / {