Git Product home page Git Product logo

myurlsa's Introduction

Myurls-Railway

Railway 上运行 Myurls 短网址程序

Installation

部署

Deploy on Railway

  • 点击上方图片跳转 Railway
  • 登陆你的 Github 账号
  • 填写你要创建的库名
  • 添加自定义域名至 DOMAIN
  • 点击部署
  • 配置自定义域名以通过此域名访问

🎉🎉🎉 完成!🎉🎉🎉

绑定域名

简述,具体配置请参考官方文档

  • 在 Cloudflare 中添加 Cname 解析指向 yourapp.yourrailwayproject.com
    • 可能长这样 https://xxxx-xxxxx.xx.railway.app/
  • 并配置 SSL/TLS加密模式完全完全(严格)
  • RailwaySettings - Domains 中接入该域名

参数说明:

  • DOMAIN
    • 短链接域名,必填,不需要添加https:// (如 abc.com)
  • TTL
    • 短链接有效期(默认 180,单位:天,不用修改)
  • PORT
    • 端口(默认 80,不用修改)
  • RDSHOST
    • Redis 的域名
  • RDSPORT
    • Redis 的端口
  • RDSPASSWORD
    • Redis 的密码

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

Log

  • 2022-09-18
    • [^]:原本的模板报错 “template is not an available Railway plugin”,故重新配置了一个模板。还测试了挺多次的,还好能看懂点 sh 脚本。sh脚本改了几个变量名以搭配模板使用,请自行查看。 另外模板加入了我的推广码,觉得膈应请点我部署

myurlsa's People

Contributors

small-tailqwq avatar pzcn avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.