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
-
#new_backend ⇒ Object
Returns the value of attribute new_backend.
-
#old_backend ⇒ Object
Returns the value of attribute old_backend.
Class Method Summary collapse
- .backend_port ⇒ Object
- .backend_port=(port) ⇒ Object
- .bind_address ⇒ Object
- .bind_address=(bind_address) ⇒ Object
- .bind_port ⇒ Object
- .bind_port=(bind_port) ⇒ Object
- .debug ⇒ Object
- .debug=(debug) ⇒ Object
- .domain ⇒ Object
- .domain=(domain) ⇒ Object
- .migrated_users_file ⇒ Object
- .migrated_users_file=(file) ⇒ Object
- .new_backend ⇒ Object
- .new_backend=(new_backend) ⇒ Object
- .new_mbx_local_ip_regex ⇒ Object
- .new_mbx_local_ip_regex=(ip) ⇒ Object
- .old_backend ⇒ Object
- .old_backend=(old_backend) ⇒ Object
Instance Attribute Details
#new_backend ⇒ Object
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_backend ⇒ Object
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_port ⇒ Object
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_address ⇒ Object
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_port ⇒ Object
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 |
.debug ⇒ Object
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 |
.domain ⇒ Object
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_file ⇒ Object
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_backend ⇒ Object
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_regex ⇒ Object
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_backend ⇒ Object
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 |