开发者

multi-environment deployment with Vlad and nginx

开发者 https://www.devze.com 2023-03-01 14:56 出处:网络
I\'d like to be able to deploy staging and production environments with Vlad the Deployer. I\'ve created a separate task for each environment, since each environment is prepared differently. Now I am

I'd like to be able to deploy staging and production environments with Vlad the Deployer. I've created a separate task for each environment, since each environment is prepared differently. Now I am trying to organize nginx configurations. Should I create two separate nginx configs, put them into sites-enabled fol开发者_如何学Goder and include them in nginx.conf?


I think it is depends on complexity of your environments. Some files in sites-enabled folder allows you to have more clean structure. But if you have only two servers and it described by 10 lines, it isn't necessary.

0

精彩评论

暂无评论...
验证码 换一张
取 消