Home > front end >  Ask a question, and no path to access a web site return 200 instead of 404 state need to do
Ask a question, and no path to access a web site return 200 instead of 404 state need to do

Time:09-26

Such as access to 111. com/return 404 * * * I want to let him visit 111. com/, whatever is * * * * * * return 200 status

Could you tell me how to do thank you need

CodePudding user response:

This should be your web server configuration has a problem (for example, NGINX),
Detailed information you can have a look at this link:
https://blog.csdn.net/anjiongyi/article/details/103980291
  • Related