首页 > nginx如何处理自定义的content-type

nginx如何处理自定义的content-type

现在有一个文件格式是自定义的,但是设置nginx.conf里对该格式后缀处理没有生效,怎么样让nginx支持自定义的content-type?


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

不知道你是怎么配置的,又是怎么没生效的。

【热门文章】
【热门文章】