title: nginx ssl subdomain error
body: <p>Hello i have 2 problem with subdomain</p>
  
  <ul>
  <li><p>my ssl not work for sub.domain.com but work for domain.com</p></li>
  <li><p>phpmyadmin give me a blank page</p></li>
  </ul>
  
  <p>I have already test many configuration but always i have "no input file specified" error or 502 bad getaway error or blank page</p>
  
  <p>My folder is like</p>
  
  <pre><code>/www/
    - /website/ &lt;- first site
    - /tools/ &lt;- subdomain
       - phpmyadmin (symlink of /usr/share/phpmyadmin)
  </code></pre>
  
  <p>Config</p>
  
  <pre><code>server {
          listen 80;
          listen 443 ssl;
  
         ssl on;
         ssl_certificate /www/website/ssl/domain_com.pem;
         ssl_certificate_key /www/website/ssl/domain_com.key;
  
         ssl_session_timeout 5m;
  
          ssl_protocols SSLv2 TLSv1 TLSv1.1 TLSv1.2;
          ssl_prefer_server_ciphers on;
          ssl_ciphers EECDH+CHACHA20:EECDH+AES128:RSA+AES128:EECDH+AES256:RSA+AES256:EECDH+3DES:RSA+3DES:!MD5;
  
          disable_symlinks off;
          root /www/tools/;
          server_name configuration.domain.com;
          index index.php index.html index.htm;
  
  location /phpmyadmin {
      index index.php index.htm;
      root /usr/share;
  }
  
  location ~* \.php$ {
      include fastcgi_params;
      fastcgi_pass   unix:/var/run/php5-fpm.sock;
  }
  }
  </code></pre>
  
  <p>Im on Debian 7, Nginx 1.8</p>
  
  <p>Thanks you</p>