The account-creation-assistance project does this precisely for staging/prod 
separation via vhosts, and it's been working well for us for quite literally 
years. :)

We use port-based vhosts on the instance though, with the proxies pointing at 
the relevant port - it's been in my todo list to try and move to name-based 
vhosts instead for a while.

Simon/stwalkerster


On 30 November 2022 17:52:40 UTC, David Caro <[email protected]> wrote:
>
>Hi Tim,
>
>
>On 11/30 11:10, Tim Moody wrote:
>> Is it possible and permissible to have multiple proxies point to the same
>> cloud instance?
>> 
>> For example, I would like nginx to serve a different site (live or test)
>> depending on the domain with which it is accessed.
>
>Should be doable yes, just tested it and it works well. Seems also like a good 
>use case.
>
>> Thanks and hoping this is the right forum for such a question,
>
>It's a good place yes :)
>
>> 
>> Tim
>
>> _______________________________________________
>> Cloud mailing list -- [email protected]
>> List information: 
>> https://lists.wikimedia.org/postorius/lists/cloud.lists.wikimedia.org/
>
>
>-- 
>David Caro
>SRE - Cloud Services
>Wikimedia Foundation <https://wikimediafoundation.org/>
>PGP Signature: 7180 83A2 AC8B 314F B4CE  1171 4071 C7E1 D262 69C3
>
>"Imagine a world in which every single human being can freely share in the
>sum of all knowledge. That's our commitment."
_______________________________________________
Cloud mailing list -- [email protected]
List information: 
https://lists.wikimedia.org/postorius/lists/cloud.lists.wikimedia.org/

Reply via email to