Nginx startup scripts

Rahul Bansal rahul.bansal at rtcamp.com
Sun Jun 27 18:10:24 MSD 2010


Hi Mark,

> I note from the documentation that it is fairly simple to run multiple
> instances of nginx behind a proxy to allow different virtual hosts to be
> managed as different users (to prevent code on one site having read/write
> access to other sites).

Can u please share link to the page where you find that info?
I am, from long time, thinking about replacing apache with nginx in
shared-hosting environment.

Thanks,
-Rahul



On Thu, Jun 24, 2010 at 9:04 PM, Mark Rogers <mark at quarella.co.uk> wrote:
> On 24/06/10 15:25, Igor Sysoev wrote:
>>
>> You can run "nginx -t" before applying configuration: it catches almost
>> all
>> possible errors except some fatal errors: no memory, files, etc.
>> If you send -HUP signal to reconfigure and a new configuration is bad,
>> then nginx continues to run with an old configuration, if no fatal
>> errors will happen. SSL certificate without key case is not the fatal
>> error.
>>
>
> I don't think I could have hoped for a better answer - thank you very much!
>
> I note from the documentation that it is fairly simple to run multiple
> instances of nginx behind a proxy to allow different virtual hosts to be
> managed as different users (to prevent code on one site having read/write
> access to other sites). Is this the best way to achieve this, and if so how
> easy is it to set up? (Eg: do the startup scripts support it, similar to how
> MySQL's mysqld_multi startup script do?)
>
> It looks like I will be setting up a test server to see how I can migrate my
> Apache configuration to ngigx. My existing virtual host is using Ubuntu
> 8.04, but this has only nginx_0.6.35. Ubuntu 10.04 only has nginx_0.7.65. I
> don't really want to roll my own (because I prefer to have a repository that
> I can trust to keep on top of security updates). So, what is the best way
> forward for me?
>
> --
> Mark Rogers // More Solutions Ltd (Peterborough Office) // 0844 251 1450
> Registered in England (0456 0902) @ 13 Clarke Rd, Milton Keynes, MK1 1LG
>
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx
>



More information about the nginx mailing list