How can I allow ip addresses (other than localhost) in CB Admin

45 views
Skip to first unread message

mark.m...@drycappuccino.com

unread,
Mar 21, 2014, 11:00:24 AM3/21/14
to chica...@googlegroups.com
can I change {allow_ip_blocks, ["127.0.0.1"]}, in boss.config to allow additional hosts, if so How ?

{ cb_admin, [
    {path, "../cb_admin"},
    {allow_ip_blocks, ["127.0.0.1"]},
    {base_url, "/admin"}
]}

Kai Janson

unread,
Mar 22, 2014, 6:59:21 PM3/22/14
to chica...@googlegroups.com
Hi Mark,

You can add more ip addresses int the list by quoting each IP address and separate them by commas.

Example:

{allow_ip_blocks, ["127.0.0.1", "192.168.1.2", "172.4.5.6"}]},

Hope that helps.
--Kai

Sent from my tricorder
--
You received this message because you are subscribed to the Google Groups "ChicagoBoss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chicagoboss...@googlegroups.com.
Visit this group at http://groups.google.com/group/chicagoboss.
To view this discussion on the web visit https://groups.google.com/d/msgid/chicagoboss/006fad1d-136a-4e12-981f-796c564c3162%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

LittleQ

unread,
Mar 23, 2014, 12:55:04 AM3/23/14
to chica...@googlegroups.com

How about wildcard? Didn't see any document on this.

Reply all
Reply to author
Forward
0 new messages