search

Home  >  Q&A  >  body text

How nginx handles custom content-type

There is a file format that is customized, but the format suffix processing set in nginx.conf does not take effect. How to make nginx support customized content-type?

淡淡烟草味淡淡烟草味2746 days ago666

reply all(1)I'll reply

  • ringa_lee

    ringa_lee2017-05-16 17:27:10

    types {
      application/x-my-type .myext;
    }
    

    I don’t know how you configured it and why it didn’t take effect.

    reply
    0
  • Cancelreply