Initial commit
This commit is contained in:
18
classes/config.rb
Normal file
18
classes/config.rb
Normal file
@@ -0,0 +1,18 @@
|
||||
LOCK_PATH = 'locks/lock'.freeze
|
||||
GRANTED_UTILS = [
|
||||
'utils/config.sh',
|
||||
'utils/make_client_cert.sh',
|
||||
'utils/make_client_revoke.sh',
|
||||
'utils/make_server_cert.sh',
|
||||
'utils/make_server_revoke.sh',
|
||||
'utils/prepare.sh'
|
||||
].freeze
|
||||
PER_PAGE = 30
|
||||
LIFE_TOKEN = 300
|
||||
ALLOWED_IPS = [
|
||||
# Example: '192.168.1.10',
|
||||
# Add allowed IP addresses here
|
||||
'*'
|
||||
]
|
||||
PORT = 4567
|
||||
IPBIND = '0.0.0.0'.freeze
|
||||
Reference in New Issue
Block a user