mirror of
https://github.com/Mikaela/Limnoria-doc.git
synced 2025-01-30 14:14:35 +01:00
Merge pull request #41 from Mkaysi/nginx
httpserver.rst: add comments on listen & https
This commit is contained in:
commit
235d8f9692
@ -50,8 +50,13 @@ It's also possible to use Nginx in front of Supybot's HTTP server. Create a new
|
|||||||
.. code-block:: nginx
|
.. code-block:: nginx
|
||||||
|
|
||||||
server {
|
server {
|
||||||
|
# Note that your default server should specify these ports
|
||||||
listen 80;
|
listen 80;
|
||||||
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;
|
server_name stats.yourdomain.org;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
|
Loading…
Reference in New Issue
Block a user