Angular 5和Google App Engine(GAE)

我试图在GAE之上运行一个Angular 5 vanilla scaffolding(没有定制,只是testing)的应用程序,但是还没有成功部署它。 我NGINX 502 Bad GatewayNGINX 502 Bad Gateway错误信息。 我已经login到运行容器的实例,以确认ng正在本地提供stream量,并且是。 在这里做了一些研究之后,我发现人们正在调整他们的app.yaml文件来处理处理程序。 但是,我看到的例子涉及Python服务器,而不是Node。 我离开app.yaml非常简单的这个初始configuration,但我怀疑我需要更多的内部。 任何提示将非常感谢。

app.yaml中:

 env: flex runtime: nodejs health_check: enable_health_check: False 

gcloud应用程序读取日志:

  ** NG Live Development Server is listening on localhost:8080, open your browser on http://localhost:8080/ ** Date: 2017-11-03T22:24:09.051Z Hash: 6b8111721660d89fdc61 Time: 18180ms chunk {inline} inline.bundle.js (inline) 5.79 kB [entry] [rendered] chunk {main} main.bundle.js (main) 19.8 kB [initial] [rendered] chunk {polyfills} polyfills.bundle.js (polyfills) 544 kB [initial] [rendered] chunk {styles} styles.bundle.js (styles) 33.2 kB [initial] [rendered] chunk {vendor} vendor.bundle.js (vendor) 7.02 MB [initial] [rendered] webpack: Compiled successfully.