<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Jarod,<div><br></div><div>If you mean in the way Apache reads .htaccess files, then as far as I understand, there isn't really any support for this in nginx; it reads its config at startup, and as Andre says, you need to tell it to reload the config using a signal.</div><div><br></div><div>Cheers,</div><div>Igor</div><div><br></div><div><div>On 26 Aug 2008, at 15:32, Andre Arnold wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Hi,<br><br>kill -HUP `pidof nginx`<br><br><a href="http://wiki.codemongers.com/NginxCommandLine#utnbotf">http://wiki.codemongers.com/NginxCommandLine#utnbotf</a><br><br>Best regards<br><br><div class="gmail_quote"> 2008/8/26 Jarod Belle <span dir="ltr">&lt;<a href="mailto:jarodbelle@gmail.com">jarodbelle@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div class="Ih2E3d">Almir Karic &lt;almir@...> writes:<br> <br> ><br> > On Tue, Aug 26, 2008 at 12:58:14PM +0000, Jarod Belle wrote:<br> > > I want to make nginx to get different configurations dynamically at runtime.<br> ><br> > what is wrong with nginx -c /path/to/configuration/file.conf ?<br> ><br> <br> <br> </div>Excuse me, What I wanted to know is when nginx have been already running, how<br> to read any other configurations(such as different user's configuration) in the<br> runtime.<br> <br> I think this need some ngx_http_module hacking, but I need some guide, since<br> I'm not familiar enough with nginx's internal architecture.<br> <br> <br> Thank you for your reply. :)<br> <br> <br> </blockquote></div><br></div></blockquote></div><br><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>--</div><div>Igor Clark • POKE • 10 Redchurch Street • E2 7DD • +44 (0)20 7749 5355 • <a href="http://www.pokelondon.com">www.pokelondon.com</a></div></div></div></div></div></div></div></div></div></div></span></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"> </div><br></body></html>