Skip to content

Commit 6cc0788

Browse files
author
Robert Mitwicki
committed
Merge pull request #169 from ogom/use_bind_address
Use bind_address from config
2 parents 6f1376a + bf28682 commit 6cc0788

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/casserver/server.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ def self.load_config_file(config_file)
138138

139139
def self.handler_options
140140
handler_options = {
141-
:Host => bind || config[:bind_address],
141+
:Host => config[:bind_address] || '0.0.0.0',
142142
:Port => config[:port] || 443
143143
}
144144

0 commit comments

Comments
 (0)