egg-deploy:egg hot-reload tool with nginx. eggjs 热部署工具

时间:2024-05-22 23:10:31
【文件属性】:

文件名称:egg-deploy:egg hot-reload tool with nginx. eggjs 热部署工具

文件大小:29KB

文件格式:ZIP

更新时间:2024-05-22 23:10:31

JavaScript

egg-deploy Install yarn add egg-deploy --dev Usage create nginx.conf with upstream block, example: upstream nginxconf { } server { listen 443; ssl on; ssl_certificate *.fullchain.cer; ssl_certificate_key *.key server_name vux.li; location / { proxy_pass http://nginxconf; } } edit package.json { "scripts": { "deploy": "egg-deploy" } } then run yarn deploy


【文件预览】:
egg-deploy-master
----cli.js(38B)
----.gitignore(13B)
----lib.js(5KB)
----README.md(1KB)
----helper.js(952B)
----package.json(404B)
----yarn.lock(41KB)
----package-lock.json(42KB)

网友评论