Erlang/OTP Forums

Author Message

<  Yaws mailing list  ~  nitrogen and yaws - http and https

Guest
Posted: Thu Apr 08, 2010 9:54 pm Reply with quote
Guest
anyone here gotten yaws+nitrogen+https to work? I can get http to
work fine, but when I try to configure https, it just spins in the
browser. Basically I have:

SSL = #ssl {
keyfile = nitrogen:get_keyfile(),
certfile = nitrogen:get_certfile(),
depth = 0
},
SC2 = #sconf {
docroot = nitrogen:get_wwwroot(),
ssl = SSL,
port=nitrogen:get_sslport(),
appmods = [{"/web", wf_yaws}],
listen = nitrogen:get_ip()
},


in the nitrogen_yaws_app.erl

Any other pointers as to how to do this?

thx,

-wes

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post received from mailinglist
Guest
Posted: Mon Apr 12, 2010 10:36 am Reply with quote
Guest
Wes James wrote:
> anyone here gotten yaws+nitrogen+https to work? I can get http to
> work fine, but when I try to configure https, it just spins in the
> browser. Basically I have:
>
> SSL = #ssl {
> keyfile = nitrogen:get_keyfile(),
> certfile = nitrogen:get_certfile(),
> depth = 0
> },
> SC2 = #sconf {
> docroot = nitrogen:get_wwwroot(),
> ssl = SSL,
> port=nitrogen:get_sslport(),
> appmods = [{"/web", wf_yaws}],
> listen = nitrogen:get_ip()
> },
>
>
> in the nitrogen_yaws_app.erl


Try depth = 1

/klacke

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post received from mailinglist

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum