nginx ssl setup

Linux 2015. 9. 10. 21:26


 

SSL after removing the password was installed.

Enter the nginx.conf as follows

server {

        listen       443;

        server_name  ssl.taesany.com

        root /www/ssl.taesany.com;

        ssl                  on;

        ssl_certificate      /usr/local/Manage/ssl.taesany.com.crt;

        ssl_certificate_key  /usr/local/Manage/ssl.taesany.com.key;

        location ~ \.php$ {

                if (!-f $document_root$fastcgi_script_name){ return 404; }

                include fastcgi.conf;

                fastcgi_pass   127.0.0.1:9000;

                fastcgi_index  index.php;

                fastcgi_read_timeout 10s;

                fastcgi_param PATH_INFO $request_uri;

        }

 

}

Posted by pysany
,