server {
            listen       443;
            server_name  149.129.216.117 sta.api-pay.uangme.com;
            root   /data/app/pay_order/public;

            ssl                  on;
            ssl_certificate      ssl/sta.api-pay.uangme.com.pem;#配置证书位置
            ssl_certificate_key  ssl/sta.api-pay.uangme.com.key;#配置秘钥位置
            ssl_session_timeout  5m;
            ssl_protocols  SSLv2 SSLv3 TLSv1 TLSv1.1 TLSv1.2;
            ssl_ciphers  ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP;
            ssl_prefer_server_ciphers   on;

            index  index.php;
            access_log  /data/logs/nginx/api-pay.nginx.access.log  main;
            if (!-e $request_filename)
            {
                rewrite ^/(.*)$ /index.php last;
            }

            location ~ \.php$ {
                fastcgi_pass   127.0.0.1:9000;
                fastcgi_connect_timeout 300;
                fastcgi_send_timeout 300;
                fastcgi_read_timeout 300;
                fastcgi_buffer_size 64k;
                fastcgi_buffers 4 64k;
                fastcgi_busy_buffers_size 128k;
                fastcgi_temp_file_write_size 256k;
                fastcgi_index  index.php;
                include fastcgi.conf;
            }
    }