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