如中所述 https://www.netlify.com/blog/2015/10/30/domain-aliasesas-many-as-you-like/ Netlify似乎支持这一点:
子域作为同一站点中的文件夹。
但是应该如何配置呢?似乎没有记录在案。
我想在文件夹中存储文件 /developer http://developer.example.com http://developer.example.com
/developer
http://developer.example.com
通过在 _redirects 文件
_redirects
# proxy the request /my/folder/path https://subdomain.ofmy.site 200 # redirect the request /my/folder/path https://subdomain.ofmy.site 302
# proxy the request /my/folder/path/* https://subdomain.ofmy.site/:splat 200
有关在Netlify上定义重定向的详细文档: https://www.netlify.com/docs/redirects/