【发布时间】:2017-01-28 05:03:12
【问题描述】:
我有一个静态文件 index.html。我将如何配置 nginx 以从域上的每个路径提供它?
URL | file
-----------------
/ | index.html
/foo | index.html
/bar | index.html
/baz | index.html
基本上,我想要一个外卡匹配。
(我意识到这将是一个不寻常的设置。)
【问题讨论】: