Question on Instance structure.

Aleksandar Lazic al-nginx at none.at
Sat Oct 29 21:43:22 UTC 2022


Hi.

On 28.10.22 16:25, jonmcalexander at wellsfargo.com wrote:
> I would be interested in either setup. My thoughts are around having 1 set of
> binaries with sites/instances in different folder structures that USE the central
> binary. I'm aware of the -c <config file> at the command line level, but items like
> setting the prefix, etc. is where most of my question lies. Please know that I'm
> coming from a Tomcat background at this. I did recently find you can also override
> the prefix on the command line, but apparently NOT in the config file.?.

What do you mean with "prefix"?

Please can you elaborate in more detail what do you plan and what Ideas 
is in your mind.

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: Thomas Ward <teward at thomas-ward.net>
>> Sent: Friday, October 28, 2022 7:13 AM
>> To: nginx at nginx.org; al-nginx at none.at
>> Cc: Mcalexander, Jon J. <jonmcalexander at wellsfargo.com>
>> Subject: Re: Question on Instance structure.
>>
>> Jon,
>>
>> I'm not 100% sure if you understand NGINX properly, but I think you're
>> confusing "multi-instance" and "multi-site" when it comes to NGINX.
>>
>> Multi-instance NGINX requires multiple individual NGINX instances each
>> running completely different configuration stacks, and not the default
>> nginx.conf.
>>
>> A multi-site configuration is one NGINX binary set with multiple `server {}`
>> definitions inside the relevant blocks - i.e multiple server blocks within the
>> `http{}` block for multiple webserver configurations to serve more than one
>> site from a single NGINX binary/config set.
>>
>> Is your goal to have multiple NGINX instances with different configurations
>> running individually alongside each other, or is your goal to have NGINX
>> simply serve / handle multiple sites with a single binary and configuration
>> set?
>>
>>
>> Thomas
>>
>> On 10/27/22 18:20, jonmcalexander--- via nginx wrote:
>>> Thank you!
>>>
>>> Can anything be setup in the nginx.conf file?
>>>
>>> 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
>>> _______________________________________________
>>> 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