如何在 Google App Engine 上托管静态 HTML 文件? [英] How to host static HTML files on Google App Engine?

查看:23
本文介绍了如何在 Google App Engine 上托管静态 HTML 文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以在 App Engine 上托管静态 HTML 网站?以及如何让我的域名使用它?

Is it possible to host a static HTML website on App Engine? And how to make my domain name work with it?

推荐答案

我为此编写了一个库,它可以在 AppEngine 或您想要的任何其他服务器上运行:

I wrote a library to do just that, and it works on AppEngine or any other server you want:

https://github.com/stochastic-technologies/static-appengine-hoster

您只需将文件放入目录中,它就会托管它们.还支持 Jinja2 模板、URL 重写和多域.

You just throw your files in the directory, and it hosts them. It also supports Jinja2 templates, URL rewriting and multiple domains.

这篇关于如何在 Google App Engine 上托管静态 HTML 文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆