Problem details: 'Mixed Content: The page at' XXXX 'was loaded over HTTPS, but requested in secureXMLHttpRequest endpoint' XXXX ' Thisrequesthasbeenblocked; thecontentmustbeservedoverHTTPS.’ The reason is that the current website is the interaction mode of HTTPS protocol, but HTTP appears on the page
Read on →
1. Modify the/etc/hosts. deny file. The command is as follows: sudovi/etc/hosts. deny 2. Rules for writing content: # Deny specifying IPsshd: 127.0.0.1 # Deny IP segment (wildcard symbol '.') sshd: 127.0.0
Read on →
The command is as follows: tail-10000/nginx_log_path. log | awk vFS='|' '{print $2}' | sort | uniq-c | sort-k1-nr | head-n20
Read on →
A friend said that when the progressive cache plug-in enabled the cache function, the server disk occupied too much after a period of time. This article is used to explain the causes of this problem and the mitigation methods. Why is disk usage high? Some users like to compare other static plug-ins when they find that the disk is occupied. The conclusion is: "Why don't I use XXX's static plug-ins to occupy so many disks? Is there something wrong with the plug-in?". In fact, it is not difficult to explain this problem. Z-BLOG is a dynamic program, and most of the acceleration plug-ins on the market come from other developers, and generally fall into two categories: 1. Like dedecms, according to the URL
Read on →
If the server uses Nginx and CDN is nested upstream, it is inevitable to encounter a problem: "CDNIP is recorded in the request log instead of the actual request IP". As we all know, this is not conducive to website management, or it is difficult to avoid some malicious risks. It is not complicated to solve this problem. Just add the following configuration to the Http section of Nginx: set_real_ip_from0.0.0.0/0; real_ip_headerX-Forwarded-For; Take the pagoda panel as an example. In the "Software Store>Installed>Ngin..."
Read on →