title: Subdomain setup nginx
body: <p>My reviewer24.com.conf file looks like this:</p>
  
  <pre><code>server {
    server_name reviewer24.com www.reviewer24.com;
  
    access_log /home/nginx/domains/reviewer24.com/log/access.log combined buffer=32k;
    error_log /home/nginx/domains/reviewer24.com/log/error.log;
  
    root /home/nginx/domains/reviewer24.com/public;
  
    location / {
  
    # Enables directory listings when index file not found
    #autoindex  on;
  
    # Shows file listing times as local time
    #autoindex_localtime on;
  
    # Enable for vBulletin usage WITHOUT vbSEO installed
    #try_files         / /index.php;
  
    }
  
    include /usr/local/nginx/conf/staticfiles.conf;
    include /usr/local/nginx/conf/php.conf;
    include /usr/local/nginx/conf/drop.conf;
    #include /usr/local/nginx/conf/errorpage.conf;
  }
  </code></pre>
  
  <p>I have created a folder "m" and placed a mobile version of the website in it. 
  What rule should I add to this .conf file so when you go to: <a href="http://m.reviewer24.com" rel="nofollow">http://m.reviewer24.com</a> it will display content from "m" folder?</p>