Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Fwd: using nginx or other Webserver in front of Jetty

Hi Simone,

To change the SSL or other setup, you can just do an reload (/etc/init.d/nginx reload). You need a recent nginx (1.7+) for this to work correctly for SSL.  For the on the fly upgrade, nginx will fork the new version of itself and give the forked process the file handle for the listening socket, so that the forked new nginx version can reuse  the already open sockets… (Unix black magic - you will have no chance to do the same in java)

They put this in a sequence of Unix signals you send to the nginx process:

http://nginx.org/en/docs/control.html#upgrade

cu Emmeran

> Am 19.06.2015 um 11:32 schrieb Simone Bordet <sbordet@xxxxxxxxxxx>:
> 
> Hi,
> 
> On Fri, Jun 19, 2015 at 9:42 AM, Emmeran Seehuber <rototor@xxxxxxxxxx> wrote:
>> - Change my multi domain setup, including ssl certificate upgrades without downtime.
>> - Upgrade nginx without downtime on the fly.
> 
> Just curious, how can you do these 2 with a single nginx instance ?
> 
> --
> Simone Bordet
> ----
> http://cometd.org
> http://webtide.com
> Developer advice, training, services and support
> from the Jetty & CometD experts.
> _______________________________________________
> jetty-users mailing list
> jetty-users@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/jetty-users
> 

Mit freundlichen Grüßen aus Augsburg

Emmeran Seehuber
Dipl. Inf. (FH)
Schrannenstraße 8
86150 Augsburg
USt-IdNr.: DE266070804



Back to the top