Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在 nginx 配置中放入普通文件的可变内容?例如,我想放入文件 /opt/storage/articles/2013/07/29/file-3.content_type 的 $ContentType 内容
对不起我的英语
要在 nginx.conf 中包含来自其他文件的信息,您必须使用include (ex):
include /opt/storage/articles/2013/07/29/file-3.content_type