mirror of
https://github.com/retspen/webvirtcloud
synced 2026-11-09 19:56:48 +00:00
fix(console): keep socketiod behind nginx and off by default there too
- Comment out the nginx /socket.io/ location: a firewall on 6081 does not protect a console that nginx proxies on 80/443. - Default SOCKETIO_HOST to 127.0.0.1. - README: short enable steps and the changes existing installs need. - test_socketiod_disabled writes its settings module to a temporary directory instead of the source tree.
This commit is contained in:
parent
1547e58e55
commit
4252ad9280
4 changed files with 28 additions and 31 deletions
|
|
@ -225,7 +225,9 @@ WS_CERT = None
|
|||
SERIAL_CONSOLE_ENABLED = False
|
||||
|
||||
SOCKETIO_PORT = 6081
|
||||
SOCKETIO_HOST = "0.0.0.0"
|
||||
# Listen on localhost only and reach socketiod through the nginx /socket.io/
|
||||
# location (set SOCKETIO_PUBLIC_PORT to 80 or 443 then).
|
||||
SOCKETIO_HOST = "127.0.0.1"
|
||||
|
||||
# Socketio public host
|
||||
SOCKETIO_PUBLIC_HOST = None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue