1. Cấu hình như ảnh bên dưới: 2. Cấu hình file: – /usr/local/cwpsrv/htdocs/resources/conf/web_servers/vhosts/nginx/force-https-http2.tpl Thêm dòng: return 301 https://$host$request_uri; dưới dòng error_log /usr/local/apache/domlogs/%domain%.error.log error; Mục đích chuyển hướng http xang https bằng nginx – /usr/local/cwpsrv/htdocs/resources/conf/web_servers/vhosts/nginx/force-https-http2.stpl Thêm đoạn: ssl_stapling on; ssl_stapling_verify on; ssl_trusted_certificate %ssl_cert_path%/%domain%.bundle; resolver 8.8.8.8 8.8.4.4; Dưới đoạn: ssl_session_timeout 60m; Mục đích cached SSL vào trình duyệt. 3. Rebuild all vhosts ..
Category : Panel
Khi xóa host thường trong file cấu hình Apache vẫn còn cấu hình của user host (do không bị xóa). Cách khắc phục xem báo cáo của Apache trên giao diện chính CWP truy cập vào đường dẫn và dòng báo lỗi xóa cấu hình đó đi và khởi động l..
Trying to start mysql server, please wait! Try to restart CentOS Web Panel with command: sh /scripts/restart_cwpsrv Khắc phục: Xóa file /var/lib/mysql/tc.log sau đó khởi động lại VPS hoặc: ib_logfile0 và ib_logfile1 trong thư ..
Internal error (specific information not available): AH00058: Error retrieving pid file logs/httpd.pid Cách khắc phục: xóa file /usr/local/apache/logs/httpd.pid và sau đó khởi động l..
Phản hồi