title: NGINX HTTPS Timeout
body: <p>My problem is that if I restart NGINX the HTTP works fine but HTTPS is not available. I receive a connection timeout. I checked that I can connect locally and checked the certificate. This works fine too. I do not have a firewall but it seems like the port or what ever are blocked. Please help...</p>
  
  <pre><code>server {
      server_name help.XXXX.de;
      listen 80;
      listen 443 default ssl;
  
      ssl on;
      ssl_certificate      /etc/ssl/localcerts/0001_MAILcert.pem;
      ssl_certificate_key  /etc/ssl/localcerts/0001_MAILcert.key;
      ssl_ciphers               SSLv3+HIGH:RC4+MEDIUM:!aNULL:!eNULL:!3DES:!MD5:@STRENGTH;
      ssl_prefer_server_ciphers on;
      ssl_protocols             TLSv1;
  
      access_log /var/www/XXXX.de/help.XXXX.de/logs/access.help.log main;
      index index.html index.htm index.php;
      root /var/www/XXXX.de/help.XXXX.de/htdocs;
  
      location / {
          try_files $uri $uri/ /index.php;
  }
  
  location ~ \.php$ {
      try_files $uri @rewrite;
      fastcgi_pass unix:/var/run/php5-fpm.sock;
      fastcgi_index index.php;
      fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
      include fastcgi_params;
      }
  }
  </code></pre>
  
  <p>I am using Debian with NGINX 1.2.6 and PHP-FPM</p>