爱意满满的作品展示区。
imdjh

根据 TXT 记录,实现 web 重定向的 RESTful 站点

  •  
  •   imdjh · Jun 3, 2015 · 2788 views
    This topic created in 4010 days ago, the information mentioned may be changed or developed.

    首先看下怎么用吧~

    1. 已有:

      自动布置好的站点: http://safe-retreat-9029.herokuapp.com
      配置好的dns记录:DNS TXT record

    2. 浏览器访问:safe-retreat-9029.herokuapp.com/tp/espresso.djh.im

    3. BOOM! 你就被重定向到TXT记录中的地址上去了。(在这个实例中是我的没备i案的阿里云ECS)

    再看下怎么布置你自己的站点吧!

    1. 已有:

      源代码仓库: https://github.com/imdjh/txtproxy
      站点托管: https://www.heroku.com/

    2. 选择master分支,按照heroku官网教程,一步步走,都不用配置就上线了

    待完成列表:

    1. 写一个首页(landing page),就是http://<website_url>/
    2. 打包成pip包
    3. 试试看布置在SAE

    请求:

    1. 喜欢的话,点亮这个项目的小星星( https://github.com/imdjh/txtproxy ),
    2. 你们的意见!
    Supplement 1  ·  Jun 9, 2015
    2015/6/9 update:
    ============
    添加了landing-page,实现主页。
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5389 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 41ms · UTC 07:14 · PVG 15:14 · LAX 00:14 · JFK 03:14
    ♥ Do have faith in what you're doing.