Because there are bright spots on the computer screen, I took it to change the screen, so I used the windows environment and installed the wlmp environment
When configuring Nginx, I found that there is no problem with the configuration, but I can’t access it all the time.
, 2015 / 08 / 24 15 : 03 : 59 [Crit] 4560 # 3796 : * 222 GetFileAttributesEx () " D: \ wwwroot \ hj_app ES / CSS / Web / coach_join.css / index.html " failed (123: of The filename, directory name, or volume label syntax is incorrect)
Sister, it depends on the situation that the root directory is incorrect. At first, I always thought it was a rewrite problem. The key is the main domain name I configured.
A The virtual host root configuration is: access to the secondary directory root d:\wwwroot\a is no problem, but the configured resource domain name
The configuration of B virtual host root is: access to the third-level directory root d:\wwwroot\a\bb, and an error is reported.
What the log shows is:
CreateFile() " D:\wwwroot\abb /css/web/coach_join.css " failed (123: The filename CreateFile() "D:\wwwroot\hj_app es/css/web/coach_join.css" failed (123: The filename, directory name, or volume label syntax is incorrect), client: 127.0.0.1, server: ares.haojian.dev, request: "GET /css/web/coach_join.css HTTP/1.1", host: "ares.test .dev"
Solution:
Is the problem of backslashes
Just change root d:\wwwroot\a\bb to d:/wwwroot/a/bb
Read More:
- Nginx Container Error: nginx: [emerg] mkdir() “/var/cache/nginx/client_temp“ failed (13: Permission denied)
- [Solved] Windows Nginx Startup Error: bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket
- Solution: configuration of multiple front ends separated from front end and back end of nginx
- [Solved] Playbook Start Nginx Error: Unable to start service nginx: Job for nginx.service fd with error code
- [Solved] Docker Start nginx error: driver failed programming external connectivity on endpoint nginx
- Nginx: How to Use Error_Page
- Gitlab nginx wont start to work. [down: nginx: 1s, normally up, want up; run: log: (pid 20128)xxx]
- [Solved] Nginx Request 500 Error: CreateFile() “/temp/client_body_temp/0000000013” failed (5: Access is denied)
- How to Solve Nginx 413 Error (request entity too large)
- [Nginx] Configure nginx to support websocket to solve the problem of returning 400 error
- How to Solve Nginx cross compilation Error
- [Solved] Nginx Error: 400 Request Header Or Cookie Too Large
- [Solved] MAC Nginx Error: ginx.pid“ failed (2: No such file or directory)
- [Solved] Internal error occurred: failed calling webhook “validate.nginx.ingress.kubernetes.io”:
- An error occurred: Sorry,Faithfully yours, nginx Error
- [Solved] jumpserver nginx Error: Connect websocket server error
- The page you are requesting cannot be served because of the extension configuration
- [Solved] “HttpSendRequest“ failed, Windows error code=12002 andretry limit (0) exceeded for URL
- IdentityServer4 Error: well-known/openid-configuration: HTTPS required
- [Solved] Kubeadm Reset error: etcdserver: re-configuration failed due to not enough started members