vault backup: 2025-12-04 09:12:56
This commit is contained in:
32
谢威给的资料/2023-02-01.md
Normal file
32
谢威给的资料/2023-02-01.md
Normal file
@@ -0,0 +1,32 @@
|
||||
---
|
||||
UUID: 20230201150447
|
||||
title: 2023-02-01
|
||||
date created: 2023-02-01 15:04
|
||||
aliases: null
|
||||
tags:
|
||||
- diary
|
||||
date updated: 2023-02-01 15:04
|
||||
---
|
||||
|
||||
## nginx MIME types 图片下载和显示的问题
|
||||
|
||||
[Module ngx\_http\_core\_module](http://nginx.org/en/docs/http/ngx_http_core_module.html#types)
|
||||
>Maps file name extensions to MIME types of responses. Extensions are case-insensitive. Several extensions can be mapped to one type
|
||||
|
||||
|
||||
[14.04 - Nginx downloads file, not displaying the content - Ask Ubuntu](https://askubuntu.com/questions/928631/nginx-downloads-file-not-displaying-the-content)
|
||||
|
||||
|
||||
```nginx
|
||||
location /32d3ca5e23f4ccf1e4c8660c40e75f33 {
|
||||
types {}
|
||||
default_type image/png;
|
||||
alias /data/fanglixing/codena/A.png;
|
||||
index index.html index.htm;
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
[nginx访问静态文件不下载\_51CTO博客\_nginx配置访问静态文件](https://blog.51cto.com/u_5650011/5389162)
|
||||
|
||||
https://code-temp.debugx.vip/32d3ca5e23f4ccf1e4c8660c40e75f33
|
||||
Reference in New Issue
Block a user