For the security of data transmission and to prevent web pages from being maliciously tampered with, most websites are now configured with https.
How to ensure that users access through https
For the security of data transmission and to prevent web pages from being maliciously tampered with, most websites are now configured with https.
How to ensure that users access through https
By setting the client_max_body_size of nginx to solve the problem of nginx+php uploading large files:
When using nginx as a webserver, you need to pay special attention to the client_max_body_size
Introducing nginx 13 13 span style=”color: #000000;”> Nginx is a very lightweight HTTP server written by Russians, Nginx, which is pronounced “engine X” is a high-performance HTTP and reverse
# Example of nginx.conf file
user nobody;
worker_processes 8;
error_log varlog/nginx/error.log error;
#pid logs/nginx.pid
events {
use epoll;
worker_connections 50000;
}
http {
incl
This is my code (from line 35):
location /
{
index index.php;
root /home/body;
if ($request_filename !~ (js|css|images|robots\.txt |index\.php.*)) {
rewrite ^/(.*)$/index.php/$1 last;
}
nginx CRLF (carriage return) injection vulnerability reproduces
< span style="font-size: 18px;">1. Vulnerability description
CRLF is “Enter+ “Line feed” (
) is the abbreviation, and it
1. Expires cache time optimization Function: Set a reasonable expires cache time on the server. Types suitable for caching: Static files: html, pictures, js, css, and xml are all cache objects. Adv
I have a question, PHP-FPM registers a single event as multiple events. Take the following stack trace as an example:
[30-Jul-2014 05:38:50] WARNING: [pool www] child 11606 said into stderr:
Installation environment: win10
nginx-1.17.2
Path: \nginx-1.17.2\conf\nginx.conf
Configure cross-domain and proxy folder path
Start in the nginx folder path cmd (check nginx
The core problem to be solved is: Use a port 80 to access the java + php runtime environment at the same time according to the domain name or subdomain name
1. Download nginx
Official w