# paas app
Server {
Listen {{platform_port}};
Server_name *. {{platform_domain}}; # Wildcard app domain
Error_log/data/infra/nginx/log/app. Error. The log warn;
Access_log/data/infra/nginx/log/app. Access. Log the main;
Include the conf. D/include/proxy. Conf.
Include the conf. D/include/error_page. Conf.
The location/{
If ($host ~ * ([. ^ \] + \.) (. *)) {
The set $vhost $1 - app;
Proxy_pass http://$vhost;
}
}
}
The second paragraph as follows: the following code in this section of the upstream is what mean? What is third party modules provide? Refer to
Upstream gateway - service {
{% for host groups in [' platform_gateway] %} server {{host}} : 8011;
{% endfor %}
}
CodePudding user response:
Only know upstream do load balancing, pay attention to your problem