Question on Instance structure.

Aleksandar Lazic al-nginx at none.at
Fri Oct 28 09:12:10 UTC 2022


Hi.

On 28.10.22 00:20, jonmcalexander at wellsfargo.com wrote:
> Thank you!
> 
> Can anything be setup in the nginx.conf file?

I don't get your question as the nginx.conf is the main configuration file.

Are you already familiar with nginx and the concept behind it?

Maybe you can start with this page.
https://nginx.org/en/docs/beginners_guide.html

as mentioned below can you use `-c` to tell nginx the configuration 
which should be used.

nginx -c nginx-instance-001.conf
nginx -c nginx-instance-002.conf
...
nginx -c nginx-instance-nnn.conf

The files an share some common settings or not, that's up to your 
concept how you plan to run nginx.

Regards
Alex

> Thanks,
> 
> Dream * Excel * Explore * Inspire
> Jon McAlexander
> Senior Infrastructure Engineer
> Asst. Vice President
> He/His
> 
> Middleware Product Engineering
> Enterprise CIO | EAS | Middleware | Infrastructure Solutions
> 
> 8080 Cobblestone Rd | Urbandale, IA 50322
> MAC: F4469-010
> Tel 515-988-2508 | Cell 515-988-2508
> 
> jonmcalexander at wellsfargo.com
> This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose, or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation.
> 
> 
>> -----Original Message-----
>> From: Aleksandar Lazic <al-nginx at none.at>
>> Sent: Thursday, October 27, 2022 5:02 PM
>> To: Mcalexander, Jon J. <jonmcalexander at wellsfargo.com>
>> Cc: nginx at nginx.org
>> Subject: Re: Question on Instance structure.
>>
>> Hi.
>>
>> On 27.10.22 19:05, jonmcalexander--- via nginx wrote:
>>> I have a question regarding structure.
>>>
>>> What is the proper configuration of NGINX instances when you want to
>>> have multiple configurations of NGINX, but only 1 set of binaries?
>>
>> You can use the '-c' flag to point to another nginx configuation.
>> https://urldefense.com/v3/__http://nginx.org/en/docs/switches.html__;!!F
>> 9svGWnIaVPGSwU!pknKiPNjWvixRyGoR7S8K6q7mMX6b52iQjfQRqt9s31DtW
>> 5LnUAaDsw9XZJRbE6zhQH5cVSbseKpo2afeSEcCnkmzw$
>>
>> Regards
>> Alex
>>
>>> Thanks,
>>>
>>> Dream * Excel * Explore * Inspire
>>> Jon McAlexander
>>> Senior Infrastructure Engineer
>>> Asst. Vice President
>>> He/His
>>>
>>> Middleware Product Engineering
>>> Enterprise CIO | EAS | Middleware | Infrastructure Solutions
>>>
>>> 8080 Cobblestone Rd | Urbandale, IA 50322
>>> MAC: F4469-010
>>> Tel 515-988-2508 | Cell 515-988-2508
>>>
>>>
>> jonmcalexander at wellsfargo.com<mailto:jonmcalexander at wellsfargo.com>
>>> This message may contain confidential and/or privileged information. If you
>> are not the addressee or authorized to receive this for the addressee, you
>> must not use, copy, disclose, or take any action based on this message or any
>> information herein. If you have received this message in error, please advise
>> the sender immediately by reply e-mail and delete this message. Thank you
>> for your cooperation.
>>>
>>>
>>>
>>> _______________________________________________
>>> nginx mailing list -- nginx at nginx.org
>>> To unsubscribe send an email to nginx-leave at nginx.org



More information about the nginx mailing list