Sử dụng link sau để test chất lượng SSL https://www.ssllabs.com/ssltest/analyze.html?d=nentang.vn&latest
https://medium.com/@lucabecchetti/configure-laravel-to-work-in-a-subdirectory-and-with-artisan-serve-at-the-same-time-654ba0c1fd0b Running Laravel 5 in a Subdirectory Fri 19 January 2018 Running Laravel 5 in a subdirectory (instead of a subdomain or top-level domain) is easy but there’s one gotcha. Step 1: Apache Config Make sure to alias your …
https://www.wpbeginner.com/wordpress-security Hardening WordPress find /path/to/your/wordpress/install/ -type d -exec chmod 755 {} \; find /path/to/your/wordpress/install/ -type f -exec chmod 644 {} \;
<script type=”text/javascript”> $(document).ready(function () { //Disable cut copy paste $(‘body’).bind(‘cut copy paste’, function (e) { e.preventDefault(); }); //Disable mouse right click $(“body”).on(“contextmenu”,function(e){ return false; }); }); </script>
Cấu hình SSL Để cài đặt SSL Let’s Encrypt cho trang quản trị VestaCP, bạn cần login vào server thông qua SSH với quyền root và chạy lệnh 1 2 3 4 5 6 7 # yum install -y git # cd /opt/ …
Install all the necessary repos and packages The following commands assume you already sudo su – or you will have to add sudo to each of the commands: yum install httpd -y yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm yum install yum-utils -y …
Lựa chọn MPM phù hợp từ các loại prefork, worker, event cho Apache để tối ưu Apache Server Apache MPM là gì? Từ phiên bản Apache 2, nó giới thiệu các MPM (Multi-Processing Module) mà Apache sử dụng để hoàn …
Đếm các tiến trình Httpd: ps aux | grep ‘httpd’ | awk ‘{print $6/1024 ” MB”;}’ Tính Trung bình ps aux | grep ‘httpd’ | awk ‘{print $6/1024;}’ | awk ‘{avg += ($1 – avg) / NR;} END {print avg …
In this tutorial we’ll do optimization for Nginx and PHP-FPM under VestaCP, this tutorial will also work if you’re using LEMP (nginx + php-fpm). Nginx and PHP-FPM are the best choices who need speed and security for the websites, here Nginx will server the static …
n this tutorial we’ll be optimizing the Apache server under VestaCP for better handling of requests, this will also speedup the site as requests are now handled more efficiently with this Apache MPM configs. By default under VestaCP Apache will be using mod_php and prefork mpm hence …