Geeks, please accept the hero post of 2021 Microsoft x Intel hacking contest>>>
nginx: [warn] conflicting server name “blog.xueyi.com” on 0.0.0.0:80, ignored
After modifying nginx configuration parameters, use nginx – t to check the configuration
After the prompt is successful, you can use nginx – s reload to reload the configuration
I encountered such a problem in the process of configuration, that is, after binding the host name, there will be a warning when reloading the configuration
one |
|
one |
|
The domain name blog.jianghang.name appears twice or even many times, resolving the same domain name to different directories. Generally, this error occurs when the configuration file is separated separately
Server name is bound repeatedly, but this warning will not affect the operation of the server. Moreover, this duplicate binding means that the nginx service running now and the new configuration to be loaded are duplicated. Therefore, this warning is unnecessary
Query which files contain blog. Jianghang. Name
fields. Use the grep command. An example of this command is as follows:
one |
|
Similar Posts:
- Nginx Error: nginx: [error] CreateFile() “D:\nginx-1.20.1/logs/nginx.pid” failed (2: The system cannot find the file specified)
- [Solved] Nginx: [error] open() "/usr/local/Nginx/logs/Nginx.pid
- CentOS starts nginx and prompts nginx: [emergency] still could not bind ()
- How to Solve Nginx Error: nginx: [error] OpenEvent(“Global\ngx_reload_14944”) failed (2: The system cannot find the file specified)
- [Solved] Nginx restart error: nginx: [error] open() “/run/nginx.pid” failed (2: No such file or directory)
- [Solved] Nginx Log Error: open() “/opt/Nginx/nginx/nginx.pid” failed (2: No such file or directory)
- [Solved] Nginx reverse proxy 502 permission denied
- [Solved] Nginx Restart Error: nginx: [error] open() “/usr/local/nginx/logs/nginx.pid” failed (2: No such file or directory)
- Nginx Error: nginx: [emerg] “server” directive is not allowed here in
- Command /usr/bin/codesign failed with exit code 1