Tag: Nginx 1.10
-
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: 64 1. Create a new warehouse, shuijingwan/yii2-app-advanced, as shown in Figure 1 Yii 2 advanced project template, the template includes four layers: interface (the API to implement the RESTful style web service service), front-end, back-end and console, each of which is a separate YII application. 2. Successfully created the warehouse, as shown in Figure 2 3. Use the…
-
Post Views: 14 1. Reference URL:https://developer.mozilla.org/zh-CN/docs/learn, as shown in Figure 1 2. Refer to step 4, open the command prompt (Windows) in the computer, refer to the URL:https://www.lifewire.com/how-to-open-command-prompt-2618089, as shown in Figure 2 Open Command Prompt in Windows 10 Tap or click the start button, followed by all apps. if youRe not using the desktop in Windows 10, tap the…
-
Post Views: 16 1. Under Windows 10, Nginx 1.10.1, execute the command: nginx -s reload, reload the nginx configuration, and report an error: nginx:[emerg]host not found in upstream “default.creditshop.shenzhen.localhost” in c:/nginx-1.10.1/conf/vhosts/credits Hop_shenzhen.conf:26, as shown in Figure 1 2. Check the Nginx configuration file and find that an error is reported at proxy_pass, as shown in Figure 2 3. Edit the…
-
Post Views: 11 1. Edit the nginx.conf file and add a total of 5 virtual hosts, as shown in Figure 1: 2. Execute the command: nginx -s reload, reload, report an error, as shown in Figure 2: Tips: nginx:[emerg]Could not build server_names_hash, you should increase server_names_hash_bucket_size: 32 Translation: nginx:[emerg]Unable to build server_names_hash, should add server_names_hash_bucket_size: 32 3. Open the URL:http://nginx.org/en/docs/http/server_names.html,…