Nginx + SSL for non-Apache app role

25 views
Skip to first unread message

Srini

unread,
Mar 12, 2012, 8:54:46 AM3/12/12
to scalr-...@googlegroups.com
1.  I have customized a standard Apache role and installed JBoss (Our app runs on JBoss port 8080 and not on apache).
2.  Based on a note from Nick, I have left apache running (he mentioned that otherwise scalr will not recognize the instance/server as running)

I now want to configure nginx load balancer for the new app roles that i have created.

1. We will allow only SSL.  Where do I configure this?
2. Do I still need to create an Apache virtual host to upload the ssl certificates?
3. nginx needs to forward to the app role on port 8080.  Where do I configure that?
4. What happens to the SSL (and non-SSL) templates section?  Do I just leave it as it is?

Regards
Srini

Srini

unread,
Mar 12, 2012, 11:23:35 PM3/12/12
to scalr-...@googlegroups.com
Any thoughts from the community?  I did find some similar posts on support.scalr.net, but could not find a conclusive answer.
Any help / suggestions welcome

Srini

Nick Toursky

unread,
Mar 14, 2012, 1:20:33 PM3/14/12
to scalr-...@googlegroups.com
Hi Srini,

1. Just configure an SSL-enabled vhost and SSL termination will be configured automatically on the load balancer.
2. Yep.
3. Could be set in /etc/scalr/public.d/www.ini file on the load balancer
4. Just leave it as is.

Regards,
Nick

--
You received this message because you are subscribed to the Google Groups "scalr-discuss" group.
To view this discussion on the web visit https://groups.google.com/d/msg/scalr-discuss/-/TxytPQQIsrgJ.

To post to this group, send email to scalr-...@googlegroups.com.
To unsubscribe from this group, send email to scalr-discus...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/scalr-discuss?hl=en.

Srinivasan S

unread,
Mar 14, 2012, 1:30:34 PM3/14/12
to scalr-...@googlegroups.com
Hi Nick

I did try this. Apache does not start and results in a scalarizr error. I didn't try further and was instead experimenting with ELB.

ELB suits me fine. However I had one question there: on startup of the farm and after creating the elb, I want to run a script to configure the sticky session on elb. Where/How do I script this?

Cheers
Srini
Sent on my BlackBerry® from Vodafone

From: Nick Toursky <hin...@gmail.com>
Date: Wed, 14 Mar 2012 19:20:33 +0200
Subject: Re: Nginx + SSL for non-Apache app role

Nick Toursky

unread,
Mar 14, 2012, 6:25:11 PM3/14/12
to scalr-...@googlegroups.com
What was the error by Scalarizr?

ELB sticky sessions can be configured for the specific load balancer on the management page: https://your.scalr.net/#/tools/aws/ec2/elb
Reply all
Reply to author
Forward
0 new messages