Category: Nginx
-
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: 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…