Specifying webserver specific config

15 views
Skip to first unread message

Ramkrishna Kulkarni

unread,
Feb 19, 2015, 7:25:25 AM2/19/15
to nitro...@googlegroups.com
Hello Jesse,

I have some Inets specific config to be passed on to inets application. Now that we have simple_bridge, does it mean we need to make changes to inets-bridge-modules? I guess inets.config is not being picked anymore.

Thanks.

Jesse Gumm

unread,
Feb 19, 2015, 5:04:00 PM2/19/15
to nitrogenweb
Hi Ram,

You should be able to specify the inets.config file. It's going to be
looking for a services key and within that an httpd key. Here is the
code it's using to set up inets:
https://github.com/nitrogen/simple_bridge/blob/master/src/inets_bridge_modules/inets_simple_bridge_sup.erl#L27

Let me know if this helps,

-Jesse
> --
> You received this message because you are subscribed to the Google Groups
> "Nitrogen Project / The Nitrogen Web Framework for Erlang" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to nitrogenweb...@googlegroups.com.
> To post to this group, send email to nitro...@googlegroups.com.
> Visit this group at http://groups.google.com/group/nitrogenweb.
> For more options, visit https://groups.google.com/d/optout.



--
Jesse Gumm
Owner, Sigma Star Systems
414.940.4866 || sigma-star.com || @jessegumm

Ramkrishna Kulkarni

unread,
Feb 20, 2015, 1:09:29 AM2/20/15
to nitro...@googlegroups.com

Hi Jesse,

The problem is on line 30. Parameters to gen_env need to be swapped. I somehow ignored this error before.

Thanks.

You received this message because you are subscribed to a topic in the Google Groups "Nitrogen Project / The Nitrogen Web Framework for Erlang" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/nitrogenweb/BxT5kM6D8PQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to nitrogenweb...@googlegroups.com.

Jesse Gumm

unread,
Feb 26, 2015, 2:32:32 PM2/26/15
to nitrogenweb
Hey Ram!

Give this a shot. It should be updated in master branch of simple_bridge.

Thanks for pointing that out.

-Jesse

On Fri, Feb 20, 2015 at 12:09 AM, Ramkrishna Kulkarni
Reply all
Reply to author
Forward
0 new messages