首页 > 解决方案 > How to serve a static html that has a php extension with S3?

问题描述

I can't change the extension of the file, but I need to serve it as a html file. No php inside.

标签: amazon-s3

解决方案


那会很好用。设置Content-Typetext/html

您可以在 S3 控制台中执行此操作,如如何将元数据添加到 S3 对象?或者当您最初上传文件时。


推荐阅读