I got many server aliases in nginx configuration:
server {
listen 80;
server_name example.com site1.example.com site2.example.com site3.example.com
...
How i can control specific folder for alias in location of robots.txt file, for example i mean:
location ^~ $http_host/robots.txt {
alias /home/web/public_html/static/$http_host/robots.txt;
}
Construction above not working.