如何在Google App Engine上托管静态HTML文件? [英] How to host static HTML files on Google App Engine?
本文介绍了如何在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屋!
查看全文