When performing secondary directory redirection in nginx, it keeps reporting 404. I don’t know how to change it. Is there any way to debug nginx redirection?
某草草2017-05-16 17:19:07
Check the logs to determine what files are actually accessed by the server.
ls <file>, confirm whether the file exists and eliminate configuration errors caused by manual errors.
Check the documentation to make sure the configuration is correct.