我试图发布我的HTML为基础的网站,我的谷歌应用引擎服务。我不会在这个项目中使用任何PHP代码,因为它只是一个登陆页面。
这是我的项目结构:

我相信我需要一个app.yaml文件来发布到GAE?这里是我的app.yaml文件:
application: earthling-app
version: 1
runtime: php55
api_version: 1
handlers:
- url: /js
static_dir: js
- url: /images
static_dir: images
- url: /css
static_dir: css但是,当我在Google启动程序中运行我的应用程序时,它显示了如下所示:

我得到一个“url”/index.html不匹配任何处理程序。“,‘没有找到’错误。
我的结构和app.yaml是否正确和安全地发布到GAE服务?为什么我没有正确地看到我的网站?
编辑
在琥珀的建议下,这是我的app.yaml:
application: earthling-app
version: 1
runtime: python
api_version: 1
handlers:
- url: /.*
static_dir: static我把所有的静态文件都移到了一个名为“静态”的文件夹中
发布于 2016-03-13 02:00:12
另一种方法是使用Google Clould存储为您的站点服务。它有一个为静态网站服务的功能。它作为一个CDN工作,您将只支付传输的数据。
https://stackoverflow.com/questions/35953986
复制相似问题