Category: HTTP Server
-
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: 19 1. Error in K8S: 504 Gateway time-out nginx/1.17.8. The request timeout limit is 60 seconds. as shown in Figure 1 2. Reference URL:https://www.shuijingwanwq.com/2020/02/19/3936/. The relevant parameters have been adjusted to 300 seconds. But still error. 3. Create a new PHP file, running time for more than 120 seconds. curlhttp://127.0.0.1:81/1.phpNo errors were reported. as shown in Figure 2…
-
Post Views: 15 1. Modify the multi-domain name mode to a single domain name mode, and modify the file: frontend/config/main.php. as shown in Figure 1 2. Modify the multi-domain name mode to single-domain name mode, and modify the file: etc/nginx/conf.d/ccp_api.conf. as shown in Figure 2 3. Now plan to upgrade the container based on the environment variable: channel_pub_api_cfg_frontend_domain_mode=single|multiple. Default: single.…
-
Post Views: 18 1. The current base url is /,https://creditshopback.xxx.cn/. Response 200. as shown in Figure 1 2. Edit the program file and output the current version number: 2.6.4. as shown in Figure 2 3. Now the expected URL is adjusted to:https://console.xxx.cn/creditshopback. Refer to the development and installation method:https://book.cakephp.org/2/zh/installation.html. as shown in Figure 3 4. View the current Nginx configuration…
-
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: 18 1. The current domain name is: ccpapi.xxx.cn. It can be called normally on the external network. as shown in Figure 1 2. The current Rancher configuration, load balancing. as shown in Figure 2 3. In Konga, Services – Add New Service. name: API_CCP . url:http://api.ccp:82. Fill in these 2 fields only. submit. as shown in Figure 3…