如何在AppEngine上托管静态html文件? [英] How to host static html files on AppEngine?
本文介绍了如何在AppEngine上托管静态html文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有可能在AppEngine上托管一个静态html网站吗?如何使我的域名与它一起工作?
Is it possible to host a static html website on AppEngine? 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.
这篇关于如何在AppEngine上托管静态html文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文