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;
}
}
'Linux' 카테고리의 다른 글
nagios centos6 install (0) | 2015.09.16 |
---|---|
nginx modsecurity install (2) | 2015.09.12 |
How to get the client IP when using CloudFront and nginx (0) | 2015.09.10 |
리눅스에서 라인수를 알고 싶을때 (0) | 2015.09.10 |
iconv 설치 configure: error: Please reinstall the iconv library (0) | 2015.09.01 |