Multiple sites under same domain with one app codebase

martyparish nginx-forum at
Fri Jul 18 17:21:47 UTC 2014

I will do that. 

I guess my main question is:

can I use a variable in the location URI?

location ^~ /$site_folder/ {

It appears that the answer is no. I have confirmed the variable is set from
the map block. However, when I use it in location like above, it gets
skipped over.

I appreciate the time you have spent with me!

Posted at Nginx Forum:,251908,251925#msg-251925

More information about the nginx mailing list