i got this working nginx config:
server {
listen 80;
server_name mydomain.com;
root /var/www/mydomain/wordpress;
index index.html index.php;
location /customer1 {
alias /var/www/mydomain/customers/custumer1;
}
location /customer2 {
alias /var/www/mydomain/customers/custumer2;
}
...
location /customerN {
alias /var/www/mydomain/customers/custumerN;
}
where customer1...customerN are nicknames.
the problem is that custmers are growing fast. so, is there a way to make this config more efficient? is there a way to create arrays maybe?
thanks!