Nginx下css的链接问题时间:2023-03-09 20:51:11 放在 Nginx 下的网页代码,在链接外部 css 文件时,可能出现没有链接成功的问题。需要在 nginx.conf 里的 http 下添加一行。 http { include mime.types;