Hi,
I have added 3 subdomain as alias with domain,
I want to add nginx rule for them, is there any trick, or I have to add all subdomain separated.
Nginx: nginx: [emerg] duplicate location “/contents/albums/” in /etc/nginx/conf.d/
Like:
location ^~ /contents/videos/ { root /home/admin/web/s1.domain.com/public_html; limit_rate_after 2m; expires 35d; internal; } location ^~ /contents/albums/ { root /home/admin/web/s1.domain.com/public_html; } location ^~ /contents/videos/ { root /home/admin/web/s2.domain.com/public_html; limit_rate_after 2m; expires 35d; internal; } location ^~ /contents/albums/ { root /home/admin/web/s2.domain.com/public_html; } location ^~ /contents/videos/ { root /home/admin/web/s3.domain.com/public_html; limit_rate_after 2m; expires 35d; internal; } location ^~ /contents/albums/ { root /home/admin/web/s3.domain.com/public_html; }