mirror of
https://github.com/jeremyd/ergo.git
synced 2026-07-24 08:08:11 -07:00
more work on websocket support
This commit is contained in:
+15
-3
@@ -40,9 +40,12 @@ server:
|
||||
# "/hidden_service_sockets/oragono_tor_sock":
|
||||
# tor: true
|
||||
|
||||
# Example of a WebSocket listener.
|
||||
#"127.0.0.1:8080":
|
||||
# websocket: true
|
||||
# Example of a WebSocket listener:
|
||||
# ":4430":
|
||||
# websocket: true
|
||||
# tls:
|
||||
# key: tls.key
|
||||
# cert: tls.crt
|
||||
|
||||
# sets the permissions for Unix listen sockets. on a typical Linux system,
|
||||
# the default is 0775 or 0755, which prevents other users/groups from connecting
|
||||
@@ -85,6 +88,15 @@ server:
|
||||
# should clients include this STS policy when they ship their inbuilt preload lists?
|
||||
preload: false
|
||||
|
||||
websockets:
|
||||
# sets the Origin headers that will be accepted for websocket connections.
|
||||
# an empty list means any value (or no value) is allowed. the main use of this
|
||||
# is to prevent malicious third-party Javascript from co-opting non-malicious
|
||||
# clients (i.e., mainstream browsers) to DDoS your server.
|
||||
allowed-origins:
|
||||
# - "https://oragono.io"
|
||||
# - "https://*.oragono.io"
|
||||
|
||||
# casemapping controls what kinds of strings are permitted as identifiers (nicknames,
|
||||
# channel names, account names, etc.), and how they are normalized for case.
|
||||
# with the recommended default of 'precis', utf-8 identifiers that are "sane"
|
||||
|
||||
Reference in New Issue
Block a user