title: After nginx installation cannot login in to my site's UI
body: <p>so there is my problem: I've switched from apache to nginx, installed php-fpm and everything seems to be okay except one thing - I can no longer login through my webpage login form. I mean - when i type wrong credentials - It fetches and says "Bad details". But when I try to login with good details - page just refreshes without any sign. nginx error log doesn't show anything special, same as php-fpm log.</p>
  
  <p>This is my nginx.conf:</p>
  
  <pre><code>worker_processes  6;
  
  events {
  worker_connections    1000;
  }
  
  http {
  include       mime.types;
  default_type  application/octet-stream;
  types_hash_bucket_size 64;
  server_names_hash_bucket_size 128;
  
  sendfile        off;
  tcp_nopush     on;
  
  keepalive_timeout  4;
  
  
  server {
      listen       80;
       root /usr/share/nginx/html;
      server_name  diamond-ptp.com;
      index index.php index.html;
   location / {
          root   /usr/share/nginx/html;
          index  index.php index.html index.htm;
      }
  
      error_page   500 502 503 504  /50x.html;
      location = /50x.html {
          root   html;
      }
  
  
    location ~ \.php$ {
        try_files $uri $uri/ $uri/login.php /login.php;
         fastcgi_pass   127.0.0.1:9000;
          fastcgi_index  index.php;
           include /etc/nginx/fastcgi_params;
      }
  
  }
  </code></pre>
  
  <p>There is my phpinfo(); : <a href="http://diamond-ptp.com/info.php" rel="nofollow">http://diamond-ptp.com/info.php</a></p>
  
  <p>It's writter there: _SERVER["REQUEST_METHOD"]   GET , shouldn't it be POST if I use post method in my login form?</p>
  
  <p>So I wonder maybe it's something $_POST related? Because overall PHP works good. Or maybe something with caching? Anyone has suggestions?   </p>