apache_conf 配置示例1
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了apache_conf 配置示例1相关的知识,希望对你有一定的参考价值。
{
"apps": {
"app1": {
"name": "test_app_1",
"groups": ["backends"],
"hosts": ["host1", "host2"]
},
"app2": {
"name": "test_app_2",
"groups": ["databases", "backends"],
"hosts": ["host1"]
}
},
"hosts": {
"host1": {
"host": "localhost",
"user": "root",
"groups": ["main_hosts"]
},
"host2": {
"host": "some_host",
"user": "some_user_name",
"groups": ["main_hosts", "some_hosts_group_name"]
}
}
}
{
"hosts": {
"host1": {
"host": "localhost",
"user": "root",
"groups": ["main_hosts"],
"apps": {
"app1": {
"name": "test_app_1",
"groups": ["backends"]
},
"app2": {
"name": "test_app_2",
"groups": ["databases", "backends"]
}
}
},
"host2": {
"host": "some_host",
"user": "some_user_name",
"groups": ["main_hosts", "some_hosts_group_name"]
}
}
}
{
"hosts": {
"host1": {
"host": "localhost",
"user": "root",
"groups": ["main_hosts"],
"apps": ["app1", "app2"]
},
"host2": {
"host": "some_host",
"user": "some_user_name",
"groups": ["main_hosts", "some_hosts_group_name"],
"apps": ["app1"]
}
},
"apps": {
"app1": {
"name": "test_app_1",
"groups": ["backends"]
},
"app2": {
"name": "test_app_2",
"groups": ["databases", "backends"]
}
}
}
以上是关于apache_conf 配置示例1的主要内容,如果未能解决你的问题,请参考以下文章
apache_conf 示例配置
apache_conf InfiniteWP配置示例
apache_conf 示例SSH配置文件。
apache_conf 示例BLT和drupal vm多站点配置
apache_conf get_all_custom_field_meta()的配置示例
apache_conf 301重定向示例