Home  >  Q&A  >  body text

nginx reports 500 error when accessing css file for the first time

In the nginx1.8 environment, a 500 error is reported when accessing the css file for the first time, and the style is not loaded. It was normal the second time. What's going on?

天蓬老师天蓬老师2713 days ago522

reply all(2)I'll reply

  • 高洛峰

    高洛峰2017-05-16 17:24:17

    Are you using samba? If so, add the following options

    oplocks = no
    level2 oplocks = no

    reply
    0
  • 漂亮男人

    漂亮男人2017-05-16 17:24:17

    Provide http request header

    reply
    0
  • Cancelreply