Category: Nginx 1.10
-
Post Views: 15 1. Report an error in Windows 10, Nginx 1.10, and PHP 7.4: 413 Request Entity Too Large. The size of the uploaded file: 286MB. as shown in Figure 1 2. Check phpinfo, the size of the uploaded file is limited to 1024M. as shown in Figure 2 3. Add to nginx’s server: client_max_body_size 1024M; 4. Restart nginx…
-
Post Views: 16 1. The content of the Nginx configuration file in response to 200 is as follows. 2. Check the nginx version: nginx version: nginx/1.10.3. as shown in Figure 1 3. Upgrade to nginx version: nginx version: nginx/1.17.8, respond to 502 bad gateway under nginx/1.17.8. as shown in Figure 2 4. Edit the content of the nginx configuration file…
-
Post Views: 14 1. In the previous release interface, only one channel is supported for a release. Therefore, the release of the three channels needs to call the interface (APP, Netease account, Weibo) 3 times respectively, as shown in Figure 1 2. On the current release interface, it is ready to publish at one time and can be published on…
-
Post Views: 14 1. When the data length of PA_LOG is: 6.16 GB, as shown in Figure 1 2. Get the first page of the log list, the response time is about 1000ms, which is acceptable, as shown in Figure 2 3. Get the last page of the log list, the response timeout: 504 gateway time-out, as shown in Figure…
-
Post Views: 13 1. In the Docker container, the Nginx PHP environment responds to 404 not found, and opens a route mapped to the PHP file, as shown in Figure 1 2. Open a route mapped to an HTML file and respond to 200, as shown in Figure 2 3. The configuration file of nginx, the content is as follows…
-
Post Views: 16 1. In nginx 1.10 version, an error is reported when reloading: nginx:[warn]Could not build optimal server_names_hash, as shown in Figure 1 2. Check the nginx configuration file, C:\nginx-1.10.1\conf\nginx.conf 3. Check the virtual host configuration file, C:\nginx-1.10.1\conf\vhosts\channel-pub-api-wx-auth.conf 4. Reference URL:https://nginx.org/en/docs/http/server_names.html, according to the error message, it should be caused by the definition of a large number of server…
-
Post Views: 13 1. Open the URL:http://www.aaaacn.net/wp-admin/install.php,报错:HTTPError 500, as shown in Figure 1 2. Open the URL:http://www.aaaacn.net/phpinfo.php,正常运行,如图2 3. Check virtualhost conf: /usr/local/nginx/conf/vhost/www.aaaacn.net.conf 4. Check rewrite rule: /usr/local/nginx/conf/rewrite/wordpress.conf 5. Check the directory permissions, and find that the files in the WordPress directory, permission users and user groups are no longer WWW, but root, it should be because the files in the…