开发者

multi-environment deployment with Vlad and nginx

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜