Version: 2.1.1
Platform: x86_64
First, install or update to the latest system software.
apt update
apt install build-essential chrpath libssl-dev libxft-dev
| http { | |
| map $http_user_agent $limit_bots { | |
| default ''; | |
| ~*(google|bing|yandex|msnbot) $binary_remote_addr; | |
| } | |
| limit_req_zone $limit_bots zone=bots:10m rate=1r/m; | |
| server { |
| server { | |
| listen 80; | |
| server_name www.example.com; | |
| root /var/www/vhosts/example.com/public/; | |
| location / | |
| { | |
| index index.php index.html index.htm; | |
| } |