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;
}