Tag: nginx -s reload
-
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: 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…