make changes to cwpsrv.conf only don't create cwp-ssl.conf manually
Hello Sandeep, so I looked at the file, tried adding the entries as in the tutorial, but it still gives the error...
Here is the SSL section of the file, where do I insert that information?
server {
listen 2031;
listen 2087;
listen 2083;
server_name localhost;
ssl on;
ssl_session_timeout 90m;
ssl_certificate /etc/pki/tls/certs/hostname.crt;
ssl_certificate_key /etc/pki/tls/private/hostname.key;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers HIGH:!aNULL:!MD5;
ssl_prefer_server_ciphers on;
location / {
root /usr/local/cwpsrv/htdocs/admin;
index index.html index.htm index.php;
ModSecurityEnabled off;
ModSecurityConfig /usr/local/cwpsrv/conf/security/conf/global_rules.conf;
# Includes
include /usr/local/cwpsrv/conf/cwp_rewrite.conf;
include /usr/local/cwpsrv/conf/cwp_services.conf;
include /usr/local/cwpsrv/conf/include/*.conf;
include /usr/local/cwpsrv/conf/cwp_panels.conf;
location ~ \.php$ {
try_files $uri =404;
root /usr/local/cwpsrv/htdocs/admin;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_read_timeout 600;
fastcgi_pass unix:/usr/local/cwp/php71/var/sockets/cwpsrv.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param SCRIPT_NAME $fastcgi_script_name;
include fastcgi_params;
}
}
}
include /usr/local/cwpsrv/conf.d/*.conf;
}