search

Home  >  Q&A  >  body text

php - Why is the nginx static file type filtering path still under tomcat?

< /p>

Why is the root F:/...webapps/ROOT in location ~/(html|js|css|jpg) in tomcat?
Isn’t it said that static and dynamic separation is required? Then the static files should be in nginx The root directory is correct.
It should point to D:nginx-1.12.0html, right?

PHPzPHPz2865 days ago429

reply all(2)I'll reply

  • 漂亮男人

    漂亮男人2017-05-16 13:02:50

    Didn’t you set an absolute path F:/...?

    reply
    0
  • PHP中文网

    PHP中文网2017-05-16 13:02:50

    The path can be specified.

    reply
    0
  • Cancelreply