Nginx and wildacard in domain name

24 views Asked by At

Let's say I have a wildcard domain name - *.example.com

I make request to test.example.com and it works.

How do I store the test part in header? Is there a nginx variable that can be used?

Tried uncle google, but have not found an answer.

0

There are 0 answers