我已经将我的 DNS 设置为将所有子域指向 @,并且我可以说这是有效的,因为我现在收到一个 appengine 错误,即在服务器上找不到 URL。
如何设置我的 app.yaml 文件以捕获自定义域的所有子域并将其指向同一个静态文件?谢谢!
例子:
http://learnnow.us (作品)
http://something.learnnow.us (没有)
DNS Entry
name | type | data
* | CNAME | @
app.yaml
- url: /
static_files: index.html
upload: index\.html
- url: *
static_files: index.html
upload: index\.html