Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

大佬,koa2的怎么部署生产环境呢?如何去映射对应的域名 #29

Open
chelflan opened this issue Sep 3, 2019 · 3 comments

Comments

@chelflan
Copy link

chelflan commented Sep 3, 2019

最近想部署到云服务器上,结果发现koa2的部分不太会部署生产环境

@lfb
Copy link
Owner

lfb commented Sep 3, 2019

最近想部署到云服务器上,结果发现koa2的部分不太会部署生产环境

你好啊,第一步:去阿里云解析域名绑定你的服务器地址,第二步,使用Nginx映射域名等配置,第三部,pm2管理启动项目。你搜下koa2 pm2 + Nginx 部署项目试下可以解决不,如果有什么问题再问我,加油:)

@chelflan
Copy link
Author

好的,已经解决,谢谢大佬

@emasjin
Copy link

emasjin commented Sep 19, 2019

大佬们 讲下怎么部署koa2啊? 不会配nginx ,post的时候报405 Not Allowed错误。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants