yum install nginx
yum install mod-ssl
vim /etc/nginx/conf.d/ssl.conf
server{
listen 443;
server_name krift-log.espritgames.ru;
ssl on;
ssl_certificate /etc/pki/tls/certs/espritgames.ru.crt;
ssl_certificate_key /etc/pki/tls/certs/espritgames.ru.key;
ssl_session_timeout 5m;
ssl_protocols SSLv3 TLSv1;
ssl_ciphers HIGH:!ADH:!EXPORT56:RC4+RSA:+MEDIUM;
ssl_prefer_server_ciphers on;
location ~ \.php$ {
root /var/www/html;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
# location / {
# root /var/www/html;
# index index.php index.html index.htm ;
# }
}