-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathhasses.conf
78 lines (64 loc) · 2.08 KB
/
hasses.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
#
# This is a hasses config file
#
# The system uses the build-hasses-parameters script
# to build these parameters to execute hasses
# This file should be located in /etc as /etc/hasses.conf
#
# ************************** MANDATORY PARAMETERS **************************
# SSE TCP port to listen
# The SSE connection will connect to this port
-p=8080
# Communication TCP port to listen
# The webservers and other hasses instances can connect to this port to
# send messages to clients through the hasses daemon.
# You can skip this if fifo file enabled below
-cp=8085
# URL to match
# The hasses will listen on this url path
# This case the full url of an sse requiest will be
# https://examplehost.com:8080/sse-event?subscribe=event_type
# Any other url request will be dropped by hasses.
#
-murl=/sse-event
# The fifo file where events come from
# You can skip this fifo if the -cp port is enabled above.
-fifo=/var/run/hasses/SSE_EVENT
# ************************** OPTIONAL PARAMETERS **************************
# Location of log file
-l=/var/log/hasses.log
# Location of pid file
-pidfile=/var/run/hasses/hasses.pid
# Reinit allowed
# Uncomment this to enable connected, handshaked clients to
# re initialize connection by sending a new http request.
# Usally need this, to workaround bogous proxy connections,
# when the hasses is proxyed through nginx or apache
#
-ra
# User to setuid
# Check the rights of the user before enable this.
# The user needs to access the logfile, pidfile, fifo file,
#
#-user=hyper
# Verbose debug outout
# Uncomment this to enable debug output
# Note: You can set the debuglevel on the fly by fifo messages. See hasses help
#
# -debug
# Minimal debug outout
# Uncomment this to enable minimal debug output
# Note: You can set the debuglevel on the fly by fifo messages. See hasses help
#
# -q
# SSL connections
# Uncomment these to enable SSL (HTTPS) support
#
#-ssl
#-cert-file=example_certfile.pem
#-privatekey-file=example_privatekeyfile.key
# CORS host
# Uncomment & Set this hostname passed in
# http header "Access-Control-Allow-Origin"
#
#-cors-base=http://example.com