Hi,
Let's say I have a web server (Nginx) that looks up files in a certain directory and serves them to users. For example my www doc root is site/ :
Code:
/home/me/www/site/
index.html
blah.css
Does that make sense if "site/" actually is a soft link to, say, "sitev1/" like that:
Code:
/home/me/www/site -> /some/where/else/sitev1
/some/where/else/sitev1/
index.html
blah.css
That way I only have to change the target pointed by "site" when I want to put sitev1 or sitev2 in production for example.
I tested this configuration, it is working great. But are there any drawbacks or unwanted side effects ? (sorry, I'm new to this)
Thank you