Module: ZimbraInterceptingProxy::Config

Defined in:
lib/zimbra_intercepting_proxy/config.rb

Constant Summary collapse

ROUTE_URL =
"/service/extension/nginx-lookup"
ROUTE_REQUEST_PORT =
7072
AUTH_REQUEST_PORT =
80

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#new_backendObject

Returns the value of attribute new_backend.



3
4
5
# File 'lib/zimbra_intercepting_proxy/config.rb', line 3

def new_backend
  @new_backend
end

#old_backendObject

Returns the value of attribute old_backend.



3
4
5
# File 'lib/zimbra_intercepting_proxy/config.rb', line 3

def old_backend
  @old_backend
end

Class Method Details

.backend_portObject



29
30
31
# File 'lib/zimbra_intercepting_proxy/config.rb', line 29

def self.backend_port
  @backend_port
end

.backend_port=(port) ⇒ Object



25
26
27
# File 'lib/zimbra_intercepting_proxy/config.rb', line 25

def self.backend_port=(port)
  @backend_port
end

.bind_addressObject



61
62
63
# File 'lib/zimbra_intercepting_proxy/config.rb', line 61

def self.bind_address
  @bind_address
end

.bind_address=(bind_address) ⇒ Object



57
58
59
# File 'lib/zimbra_intercepting_proxy/config.rb', line 57

def self.bind_address=(bind_address)
  @bind_address = bind_address
end

.bind_portObject



53
54
55
# File 'lib/zimbra_intercepting_proxy/config.rb', line 53

def self.bind_port
  @bind_port
end

.bind_port=(bind_port) ⇒ Object



49
50
51
# File 'lib/zimbra_intercepting_proxy/config.rb', line 49

def self.bind_port=(bind_port)
  @bind_port = bind_port
end

.debugObject



69
70
71
# File 'lib/zimbra_intercepting_proxy/config.rb', line 69

def self.debug
  @debug
end

.debug=(debug) ⇒ Object



65
66
67
# File 'lib/zimbra_intercepting_proxy/config.rb', line 65

def self.debug=(debug)
  @debug = debug
end

.domainObject



13
14
15
# File 'lib/zimbra_intercepting_proxy/config.rb', line 13

def self.domain
  @domain
end

.domain=(domain) ⇒ Object



9
10
11
# File 'lib/zimbra_intercepting_proxy/config.rb', line 9

def self.domain=(domain)
  @domain = domain
end

.migrated_users_fileObject



21
22
23
# File 'lib/zimbra_intercepting_proxy/config.rb', line 21

def self.migrated_users_file
  @migrated_users_file
end

.migrated_users_file=(file) ⇒ Object



17
18
19
# File 'lib/zimbra_intercepting_proxy/config.rb', line 17

def self.migrated_users_file=(file)
  @migrated_users_file = file
end

.new_backendObject



45
46
47
# File 'lib/zimbra_intercepting_proxy/config.rb', line 45

def self.new_backend
  @new_backend
end

.new_backend=(new_backend) ⇒ Object



37
38
39
# File 'lib/zimbra_intercepting_proxy/config.rb', line 37

def self.new_backend=(new_backend)
  @new_backend = new_backend
end

.new_mbx_local_ip_regexObject



77
78
79
# File 'lib/zimbra_intercepting_proxy/config.rb', line 77

def self.new_mbx_local_ip_regex
  @new_mbx_local_ip_regex
end

.new_mbx_local_ip_regex=(ip) ⇒ Object



73
74
75
# File 'lib/zimbra_intercepting_proxy/config.rb', line 73

def self.new_mbx_local_ip_regex=(ip)
  @new_mbx_local_ip_regex = ip
end

.old_backendObject



41
42
43
# File 'lib/zimbra_intercepting_proxy/config.rb', line 41

def self.old_backend
  @old_backend
end

.old_backend=(old_backend) ⇒ Object



33
34
35
# File 'lib/zimbra_intercepting_proxy/config.rb', line 33

def self.old_backend=(old_backend)
  @old_backend = old_backend
end