Git, SVN, and Native Backends

Consider the following example for a GIT or SVN repository or a native backend:

application.yml
nginx.conf

The nginx.conf might resemble the following listing:

server {
listen 80;
server_name ${nginx.server.name};
}

application.yml might resemble the following listing:

nginx:
server:
name: example.com

spring:
profiles: development
nginx:
server:
name: develop.com

The /sample/default/master/nginx.conf resource might be as follows:

server {
listen 80;
server_name example.com;
}

/sample/development/master/nginx.conf might be as follows:

server {
listen 80;
server_name develop.com;
}

发布了0 篇原创文章 · 获赞 135 · 访问量 5321

猜你喜欢

转载自blog.csdn.net/blog_programb/article/details/105191499