Author: 永夜
-
Post Views: 16 1. At this stage, there are 4 Rancher environment variables (the default value is not set, it must be set), and its value includes the public part: dev.xxx.cn 2. In the new stage, update 4 Rancher environment variables (the default value has been set, and there is no need to set it). Add a new environment variable…
-
Post Views: 16 1. After the upload of the picture is successful, the GET request:https://console.xxx.cn/upload/20210319/20210385015127.png, the response 500. The root cause is that the domain name of the image after the upload is successful is not:https://console.xxx.cn, but:https://web.xxx.cn. as shown in Figure 1 2. Open the Initiator tab, view the request call stack, and execute the GET request on line 516…
-
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. The deployment of Weiqing, the home URL at this stage is:https://cmpmain.xxx.com. Its base url is: /web/index.php. as shown in Figure 1 2. The deployment of Weiqing, I hope to adjust it, its home url is:https://front.xxx.com. To ensure that the domain names of all products are unified. Its base url is: /cmpmain/web/index.php. 3. The nginx configuration file…
-
Post Views: 49 1. Build an image in Jenkins and report an error: Error Processing tar file(exit status 1): unexpected EOF. as shown in Figure 1 2. Check the Dockerfile, it should be that the number of the add command is too many, which leads to insufficient space. Reference URL: https://stackoverflow.com/questions/42784396/docker-e rror-error-processing-tar-fileexit-status-1-unexpected-eof . as shown in Figure 2 3. Cut…
-
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…
-
Post Views: 50 1. In the ShowDoc, 2 * 3600 is displayed as: 2 * 3600. 30 * 24 * 3600 is displayed as: 30 24 3600. as shown in Figure 1 2. Use escape characters in 30 * 24 * 3600, modify it to: 30 \* 24 \* 3600. 30 \* 24 \* 3600 are displayed as: 30 *…
-
Post Views: 19 1. Two items, front and back end, two images, two containers. as shown in Figure 1 2. The front-end builds the directory structure. as shown in Figure 2 3. Interface construction directory structure. as shown in Figure 3 4. Relevant configuration of front-end construction. as shown in Figure 4 5. Relevant configuration of interface construction. as shown…