完整报错如下:

nginx: [warn] duplicate extension "html", content type: "text/html", previous content type: "text/html" in /etc/nginx/mime.types:3
nginx: [warn] duplicate extension "htm", content type: "text/html", previous content type: "text/html" in /etc/nginx/mime.types:3
nginx: [warn] duplicate extension "shtml", content type: "text/html", previous content type: "text/html" in /etc/nginx/mime.types:3
nginx: [warn] duplicate extension "css", content type: "text/css", previous content type: "text/css" in /etc/nginx/mime.types:4
nginx: [warn] duplicate extension "xml", content type: "text/xml", previous content type: "text/xml" in /etc/nginx/mime.types:5
nginx: [warn] duplicate extension "gif", content type: "image/gif", previous content type: "image/gif" in /etc/nginx/mime.types:6
nginx: [warn] duplicate extension "jpeg", content type: "image/jpeg", previous content type: "image/jpeg" in /etc/nginx/mime.types:7
nginx: [warn] duplicate extension "jpg", content type: "image/jpeg", previous content type: "image/jpeg" in /etc/nginx/mime.types:7
nginx: [warn] duplicate extension "js", content type: "application/javascript", previous content type: "application/javascript" in /etc/nginx/mime.types:8
nginx: [warn] duplicate extension "atom", content type: "application/atom+xml", previous content type: "application/atom+xml" in /etc/nginx/mime.types:9
nginx: [warn] duplicate extension "rss", content type: "application/rss+xml", previous content type: "application/rss+xml" in /etc/nginx/mime.types:10
nginx: [warn] duplicate extension "mml", content type: "text/mathml", previous content type: "text/mathml" in /etc/nginx/mime.types:12
nginx: [warn] duplicate extension "txt", content type: "text/plain", previous content type: "text/plain" in /etc/nginx/mime.types:13
nginx: [warn] duplicate extension "jad", content type: "text/vnd.sun.j2me.app-descriptor", previous content type: "text/vnd.sun.j2me.app-descriptor" in /etc/nginx/mime.types:14
nginx: [warn] duplicate extension "wml", content type: "text/vnd.wap.wml", previous content type: "text/vnd.wap.wml" in /etc/nginx/mime.types:15
nginx: [warn] duplicate extension "htc", content type: "text/x-component", previous content type: "text/x-component" in /etc/nginx/mime.types:16
nginx: [warn] duplicate extension "png", content type: "image/png", previous content type: "image/png" in /etc/nginx/mime.types:18
nginx: [warn] duplicate extension "tif", content type: "image/tiff", previous content type: "image/tiff" in /etc/nginx/mime.types:19
nginx: [warn] duplicate extension "tiff", content type: "image/tiff", previous content type: "image/tiff" in /etc/nginx/mime.types:19
nginx: [warn] duplicate extension "wbmp", content type: "image/vnd.wap.wbmp", previous content type: "image/vnd.wap.wbmp" in /etc/nginx/mime.types:20
nginx: [warn] duplicate extension "ico", content type: "image/x-icon", previous content type: "image/x-icon" in /etc/nginx/mime.types:21
nginx: [warn] duplicate extension "jng", content type: "image/x-jng", previous content type: "image/x-jng" in /etc/nginx/mime.types:22
nginx: [warn] duplicate extension "bmp", content type: "image/x-ms-bmp", previous content type: "image/x-ms-bmp" in /etc/nginx/mime.types:23
nginx: [warn] duplicate extension "svg", content type: "image/svg+xml", previous content type: "image/svg+xml" in /etc/nginx/mime.types:24
nginx: [warn] duplicate extension "svgz", content type: "image/svg+xml", previous content type: "image/svg+xml" in /etc/nginx/mime.types:24
nginx: [warn] duplicate extension "webp", content type: "image/webp", previous content type: "image/webp" in /etc/nginx/mime.types:25
nginx: [warn] duplicate extension "woff", content type: "application/font-woff", previous content type: "application/font-woff" in /etc/nginx/mime.types:27
nginx: [warn] duplicate extension "jar", content type: "application/java-archive", previous content type: "application/java-archive" in /etc/nginx/mime.types:28
nginx: [warn] duplicate extension "war", content type: "application/java-archive", previous content type: "application/java-archive" in /etc/nginx/mime.types:28
nginx: [warn] duplicate extension "ear", content type: "application/java-archive", previous content type: "application/java-archive" in /etc/nginx/mime.types:28
nginx: [warn] duplicate extension "json", content type: "application/json", previous content type: "application/json" in /etc/nginx/mime.types:29
nginx: [warn] duplicate extension "hqx", content type: "application/mac-binhex40", previous content type: "application/mac-binhex40" in /etc/nginx/mime.types:30
nginx: [warn] duplicate extension "doc", content type: "application/msword", previous content type: "application/msword" in /etc/nginx/mime.types:31
nginx: [warn] duplicate extension "pdf", content type: "application/pdf", previous content type: "application/pdf" in /etc/nginx/mime.types:32
nginx: [warn] duplicate extension "ps", content type: "application/postscript", previous content type: "application/postscript" in /etc/nginx/mime.types:33
nginx: [warn] duplicate extension "eps", content type: "application/postscript", previous content type: "application/postscript" in /etc/nginx/mime.types:33
nginx: [warn] duplicate extension "ai", content type: "application/postscript", previous content type: "application/postscript" in /etc/nginx/mime.types:33
nginx: [warn] duplicate extension "rtf", content type: "application/rtf", previous content type: "application/rtf" in /etc/nginx/mime.types:34
nginx: [warn] duplicate extension "m3u8", content type: "application/vnd.apple.mpegurl", previous content type: "application/vnd.apple.mpegurl" in /etc/nginx/mime.types:35
nginx: [warn] duplicate extension "xls", content type: "application/vnd.ms-excel", previous content type: "application/vnd.ms-excel" in /etc/nginx/mime.types:36
nginx: [warn] duplicate extension "eot", content type: "application/vnd.ms-fontobject", previous content type: "application/vnd.ms-fontobject" in /etc/nginx/mime.types:37
nginx: [warn] duplicate extension "ppt", content type: "application/vnd.ms-powerpoint", previous content type: "application/vnd.ms-powerpoint" in /etc/nginx/mime.types:38
nginx: [warn] duplicate extension "wmlc", content type: "application/vnd.wap.wmlc", previous content type: "application/vnd.wap.wmlc" in /etc/nginx/mime.types:39
nginx: [warn] duplicate extension "kml", content type: "application/vnd.google-earth.kml+xml", previous content type: "application/vnd.google-earth.kml+xml" in /etc/nginx/mime.types:40
nginx: [warn] duplicate extension "kmz", content type: "application/vnd.google-earth.kmz", previous content type: "application/vnd.google-earth.kmz" in /etc/nginx/mime.types:41
nginx: [warn] duplicate extension "7z", content type: "application/x-7z-compressed", previous content type: "application/x-7z-compressed" in /etc/nginx/mime.types:42
nginx: [warn] duplicate extension "cco", content type: "application/x-cocoa", previous content type: "application/x-cocoa" in /etc/nginx/mime.types:43
nginx: [warn] duplicate extension "jardiff", content type: "application/x-java-archive-diff", previous content type: "application/x-java-archive-diff" in /etc/nginx/mime.types:44
nginx: [warn] duplicate extension "jnlp", content type: "application/x-java-jnlp-file", previous content type: "application/x-java-jnlp-file" in /etc/nginx/mime.types:45
nginx: [warn] duplicate extension "run", content type: "application/x-makeself", previous content type: "application/x-makeself" in /etc/nginx/mime.types:46
nginx: [warn] duplicate extension "pl", content type: "application/x-perl", previous content type: "application/x-perl" in /etc/nginx/mime.types:47
nginx: [warn] duplicate extension "pm", content type: "application/x-perl", previous content type: "application/x-perl" in /etc/nginx/mime.types:47
nginx: [warn] duplicate extension "prc", content type: "application/x-pilot", previous content type: "application/x-pilot" in /etc/nginx/mime.types:48
nginx: [warn] duplicate extension "pdb", content type: "application/x-pilot", previous content type: "application/x-pilot" in /etc/nginx/mime.types:48
nginx: [warn] duplicate extension "rar", content type: "application/x-rar-compressed", previous content type: "application/x-rar-compressed" in /etc/nginx/mime.types:49
nginx: [warn] duplicate extension "rpm", content type: "application/x-redhat-package-manager", previous content type: "application/x-redhat-package-manager" in /etc/nginx/mime.types:50
nginx: [warn] duplicate extension "sea", content type: "application/x-sea", previous content type: "application/x-sea" in /etc/nginx/mime.types:51
nginx: [warn] duplicate extension "swf", content type: "application/x-shockwave-flash", previous content type: "application/x-shockwave-flash" in /etc/nginx/mime.types:52
nginx: [warn] duplicate extension "sit", content type: "application/x-stuffit", previous content type: "application/x-stuffit" in /etc/nginx/mime.types:53
nginx: [warn] duplicate extension "tcl", content type: "application/x-tcl", previous content type: "application/x-tcl" in /etc/nginx/mime.types:54
nginx: [warn] duplicate extension "tk", content type: "application/x-tcl", previous content type: "application/x-tcl" in /etc/nginx/mime.types:54
nginx: [warn] duplicate extension "der", content type: "application/x-x509-ca-cert", previous content type: "application/x-x509-ca-cert" in /etc/nginx/mime.types:55
nginx: [warn] duplicate extension "pem", content type: "application/x-x509-ca-cert", previous content type: "application/x-x509-ca-cert" in /etc/nginx/mime.types:55
nginx: [warn] duplicate extension "crt", content type: "application/x-x509-ca-cert", previous content type: "application/x-x509-ca-cert" in /etc/nginx/mime.types:55
nginx: [warn] duplicate extension "xpi", content type: "application/x-xpinstall", previous content type: "application/x-xpinstall" in /etc/nginx/mime.types:56
nginx: [warn] duplicate extension "xhtml", content type: "application/xhtml+xml", previous content type: "application/xhtml+xml" in /etc/nginx/mime.types:57
nginx: [warn] duplicate extension "xspf", content type: "application/xspf+xml", previous content type: "application/xspf+xml" in /etc/nginx/mime.types:58
nginx: [warn] duplicate extension "zip", content type: "application/zip", previous content type: "application/zip" in /etc/nginx/mime.types:59
nginx: [warn] duplicate extension "bin", content type: "application/octet-stream", previous content type: "application/octet-stream" in /etc/nginx/mime.types:61
nginx: [warn] duplicate extension "exe", content type: "application/octet-stream", previous content type: "application/octet-stream" in /etc/nginx/mime.types:61
nginx: [warn] duplicate extension "dll", content type: "application/octet-stream", previous content type: "application/octet-stream" in /etc/nginx/mime.types:61
nginx: [warn] duplicate extension "deb", content type: "application/octet-stream", previous content type: "application/octet-stream" in /etc/nginx/mime.types:62
nginx: [warn] duplicate extension "dmg", content type: "application/octet-stream", previous content type: "application/octet-stream" in /etc/nginx/mime.types:63
nginx: [warn] duplicate extension "iso", content type: "application/octet-stream", previous content type: "application/octet-stream" in /etc/nginx/mime.types:64
nginx: [warn] duplicate extension "img", content type: "application/octet-stream", previous content type: "application/octet-stream" in /etc/nginx/mime.types:64
nginx: [warn] duplicate extension "msi", content type: "application/octet-stream", previous content type: "application/octet-stream" in /etc/nginx/mime.types:65
nginx: [warn] duplicate extension "msp", content type: "application/octet-stream", previous content type: "application/octet-stream" in /etc/nginx/mime.types:65
nginx: [warn] duplicate extension "msm", content type: "application/octet-stream", previous content type: "application/octet-stream" in /etc/nginx/mime.types:65
nginx: [warn] duplicate extension "docx", content type: "application/vnd.openxmlformats-officedocument.wordprocessingml.document", previous content type: "application/vnd.openxmlformats-officedocument.wordprocessingml.document" in /etc/nginx/mime.types:67
nginx: [warn] duplicate extension "xlsx", content type: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", previous content type: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" in /etc/nginx/mime.types:68
nginx: [warn] duplicate extension "pptx", content type: "application/vnd.openxmlformats-officedocument.presentationml.presentation", previous content type: "application/vnd.openxmlformats-officedocument.presentationml.presentation" in /etc/nginx/mime.types:69
nginx: [warn] duplicate extension "mid", content type: "audio/midi", previous content type: "audio/midi" in /etc/nginx/mime.types:71
nginx: [warn] duplicate extension "midi", content type: "audio/midi", previous content type: "audio/midi" in /etc/nginx/mime.types:71
nginx: [warn] duplicate extension "kar", content type: "audio/midi", previous content type: "audio/midi" in /etc/nginx/mime.types:71
nginx: [warn] duplicate extension "mp3", content type: "audio/mpeg", previous content type: "audio/mpeg" in /etc/nginx/mime.types:72
nginx: [warn] duplicate extension "ogg", content type: "audio/ogg", previous content type: "audio/ogg" in /etc/nginx/mime.types:73
nginx: [warn] duplicate extension "m4a", content type: "audio/x-m4a", previous content type: "audio/x-m4a" in /etc/nginx/mime.types:74
nginx: [warn] duplicate extension "ra", content type: "audio/x-realaudio", previous content type: "audio/x-realaudio" in /etc/nginx/mime.types:75
nginx: [warn] duplicate extension "3gpp", content type: "video/3gpp", previous content type: "video/3gpp" in /etc/nginx/mime.types:77
nginx: [warn] duplicate extension "3gp", content type: "video/3gpp", previous content type: "video/3gpp" in /etc/nginx/mime.types:77
nginx: [warn] duplicate extension "ts", content type: "video/mp2t", previous content type: "video/mp2t" in /etc/nginx/mime.types:78
nginx: [warn] duplicate extension "mp4", content type: "video/mp4", previous content type: "video/mp4" in /etc/nginx/mime.types:79
nginx: [warn] duplicate extension "mpeg", content type: "video/mpeg", previous content type: "video/mpeg" in /etc/nginx/mime.types:80
nginx: [warn] duplicate extension "mpg", content type: "video/mpeg", previous content type: "video/mpeg" in /etc/nginx/mime.types:80
nginx: [warn] duplicate extension "mov", content type: "video/quicktime", previous content type: "video/quicktime" in /etc/nginx/mime.types:81
nginx: [warn] duplicate extension "webm", content type: "video/webm", previous content type: "video/webm" in /etc/nginx/mime.types:82
nginx: [warn] duplicate extension "flv", content type: "video/x-flv", previous content type: "video/x-flv" in /etc/nginx/mime.types:83
nginx: [warn] duplicate extension "m4v", content type: "video/x-m4v", previous content type: "video/x-m4v" in /etc/nginx/mime.types:84
nginx: [warn] duplicate extension "mng", content type: "video/x-mng", previous content type: "video/x-mng" in /etc/nginx/mime.types:85
nginx: [warn] duplicate extension "asx", content type: "video/x-ms-asf", previous content type: "video/x-ms-asf" in /etc/nginx/mime.types:86
nginx: [warn] duplicate extension "asf", content type: "video/x-ms-asf", previous content type: "video/x-ms-asf" in /etc/nginx/mime.types:86
nginx: [warn] duplicate extension "wmv", content type: "video/x-ms-wmv", previous content type: "video/x-ms-wmv" in /etc/nginx/mime.types:87
nginx: [warn] duplicate extension "avi", content type: "video/x-msvideo", previous content type: "video/x-msvideo" in /etc/nginx/mime.types:88
ngx_http_fastdfs_set pid=12220

解决方案:

检查nginx.conf中的mime是不是多写了一行,删除多余的即可.

nginx: [warn] duplicate extension xxxx解决方案相关推荐

  1. nginx支持text html,BT面板重启Nginx提示“nginx: [warn] duplicate MIME type “text/html””解决办法...

    很多时候我们在进行了一系列站点优化配置后,经常会出现一些未知的问题.比如虾皮路之前就遇到过了,在BT宝塔面板里面重启Nginx或者重载Nginx的时候,提示"nginx: [warn] du ...

  2. Nginx 502 bad gateway的解决方案

    Nginx 502 bad gateway的解决方案 参考文章: (1)Nginx 502 bad gateway的解决方案 (2)https://www.cnblogs.com/etiao/p/49 ...

  3. nginx高性能WEB服务器系列之九--nginx运维故障日常解决方案

    nginx系列友情链接: nginx高性能WEB服务器系列之一简介及安装 https://www.cnblogs.com/maxtgood/p/9597596.html nginx高性能WEB服务器系 ...

  4. nginx: [emerg] duplicate “log_format“ name “main“ in /usr/local/phpstudy/vhost/sys/nginx/sys.conf:11

    前言 CentOS Linux release 8.2.2004 (Core) phpstdy X1.26 nginx1.15 配置nginx日志出错 nginx: [emerg] duplicate ...

  5. nginx: [warn] the “ssl“ directive is deprecated, use the “listen ... ssl“ directive instead in

    前言 CentOS Linux release 8.2.2004 (Core) phpstdy X1.26 nginx1.15 错误内容 nginx: [warn] the "ssl&quo ...

  6. [Vue warn]: Duplicate keys detected: ‘0‘. This may cause an update error.

    [Vue warn]: Duplicate keys detected: '0'. This may cause an update error. 刚开始看到这个问题我还有点奇怪,因为只在for循环哪 ...

  7. 工作194:vue.runtime.esm.js?2b0e:619 [Vue warn]: Duplicate keys detected: ‘/system‘. This may cause an

    错误如下 拿到公司一个小哥哥的代码,一来就报了一堆bug,吓得我先写一篇博客vue.runtime.esm.js?2b0e:619 [Vue warn]: Duplicate keys detecte ...

  8. nginx: [warn] conflicting server name localhost on 0.0.0.0:80, ignored

    修改nginx配置参数后,使用nginx -t检查配置. 提示successfull后就可以使用 nginx -s reload来重新加载配置 我配置的过程中遇到这样的问题,就是绑定了主机名后,重新加 ...

  9. Nginx + uWSGI + flask + socketio 部署解决方案

    Nginx + uWSGI + flask + socketio 部署解决方案 参考文章: (1)Nginx + uWSGI + flask + socketio 部署解决方案 (2)https:// ...

  10. vue.runtime.esm.js?2b0e:619 [Vue warn]: Duplicate keys detected: ‘xxx‘. This may cause an update err

    vue.runtime.esm.js?2b0e:619 [Vue warn]: Duplicate keys detected: 'xxx'. This may cause an update err ...

最新文章

  1. 平衡控制与pid的新理解
  2. elasticSearch 内置功能列表
  3. Java中判断数组是否包含某值
  4. Storing XML in Relational Databases(2)
  5. sed 和 awk 的一些用法
  6. 设置npm的registry
  7. 二分查找 java代码实现
  8. jetty java 文件下载_Jetty 嵌入式开发之文件浏览和文件下载
  9. 2021年黑龙江高考成绩查询,黑龙江省招生考试信息港:2021年黑龙江高考成绩查询入口、查分系统...
  10. 手动连接mysql_手动实现与数据库的连接
  11. 计算机专业认识实习目的,计算机专业实习目的与意义
  12. xclient 已停止工作
  13. 英语句式参考纯享版 - 主语从句 - 表语从句
  14. ubuntu14.04不能上网
  15. 张一鸣:技术与人文、责任与价值观之间到底是什么关系?
  16. HTML5标签-按功能分类整理
  17. 前端vue-高德地图操作
  18. 2020美团笔试题目:送餐小区数量
  19. 在linux服务器上安装git
  20. 修改Github仓库中项目语言类型

热门文章

  1. Visual Studio Code 快速生成HTML结构
  2. 多语言国际版在线聊天室/匿名在线聊天室/语音聊天室/网页APP聊天室
  3. MongoDB是什么?看完你就知道了!
  4. python类和对象
  5. Boost电路小信号建模分析
  6. Graph_Master(连通分量_D_Trajan缩点+dfs)
  7. python画鱼骨图_这样做数据可视化驾驶舱,高端大气,一目了然,领导不点赞都难...
  8. 国内国外最好的BT站点
  9. 【CQF Finance Class 4 金融衍生品】
  10. 什么是金融衍生品工具?