mirror of
https://github.com/Mikaela/Limnoria-doc.git
synced 2024-12-25 04:32:43 +01:00
use/httpserver.rst: add nginx reverse proxy
This commit is contained in:
parent
80cff588e8
commit
c1fab4dd3c
@ -45,6 +45,20 @@ not):
|
||||
</Location>
|
||||
</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
|
||||
=========
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user