You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 29, 2018. It is now read-only.
The daemon will automatically create and manage `server.conf` and `pool_*.conf`
85
-
files under the directory specified by `NGINX_CONFDIR`. After each update, the
86
-
daemon will reload the service specified by `NGINX_SERVICE`.
104
+
The daemon will automatically create and manage configuration files under the
105
+
directory specified by `NGINX_CONFDIR`: a `server.conf` file with the frontend
106
+
server configuration for all applications, `pool_*.conf` files with the backend
107
+
configuration, `alias_*_.conf` files for application aliases, and `*.key` and
108
+
`*.crt` files for application aliases and custom SSL certificates. The
109
+
`NGINX_SSL_CERTIFICATE` and `NGINX_SSL_KEY` settings specify default SSL
110
+
configuration for applications. `HTTP_PORT` and `SSL_PORT` specify the nginx
111
+
listen ports. After each update, the daemon will reload the service specified
112
+
by `NGINX_SERVICE`.
87
113
88
114
89
115
Pool and Route Names
@@ -111,9 +137,9 @@ unspecified to disable the monitor functionality.
111
137
Set `MONITOR_UP_CODE` to the code that indicates that a pool member is up, or
112
138
leave `MONITOR_UP_CODE` unset to use the default value of "1".
113
139
114
-
Set `MONITOR_TYPE` to either "http-ecv" or "https-ecv" depending on whether you
115
-
want to use HTTP or HTTPS for the monitor, leave `MONITOR_TYPE` unset to use the
116
-
default value of "http-ecv".
140
+
Set `MONITOR_TYPE` to either "http-ecv" or "https-ecv", depending on whether you
141
+
want to use HTTP or HTTPS for the monitor, or leave `MONITOR_TYPE` unset to use
142
+
the default value of "http-ecv".
117
143
118
144
Set `MONITOR_INTERVAL` to the interval at which the monitor will send requests,
119
145
or leave `MONITOR_INTERVAL` unset to use the default value of "10".
@@ -131,9 +157,28 @@ existing monitor.
131
157
It is expected that for each pool member, the load balancer will send a `GET`
132
158
request to the resource identified on that host by the value of `MONITOR_PATH`
133
159
for the associated monitor, and that the host will respond with the value of
134
-
`MONITOR_UP_CODE` if the host is up or some other response if the host is not
160
+
`MONITOR_UP_CODE` if the host is up, or some other response if the host is not
135
161
up.
136
162
163
+
Endpoint Types
164
+
--------------
165
+
166
+
By default, the routing daemon adds only proxy gears to pools. Specifically,
167
+
the routing daemon ignores any gear endpoints that do not have the
168
+
"load_balancer" type. These "load_balancer" endpoints are the endpoints for
169
+
HAProxy gears. Thus, requests coming into the external load-balancer (nginx or
170
+
F5 BIG-IP) will be routed through applications' HAProxy gears to reach the
171
+
application gears.
172
+
173
+
Routing requests through HAProxy gears enables the auto-scaling logic to react
174
+
to changes in load. However, because only scalable applications have HAProxy
175
+
gears, this approach also means that only scalable applications can be reached
176
+
through the external load-balancer.
177
+
178
+
The `ENDPOINT_TYPES` setting specifies which gear or endpoint types the routing
179
+
daemon will add to pools. This setting is provided for flexibility, but it is
180
+
not recommended to change it from the default value of "load_balancer".
181
+
137
182
##Notice of Export Control Law
138
183
139
184
This software distribution includes cryptographic software that is subject to the U.S. Export Administration Regulations (the "*EAR*") and other U.S. and foreign laws and may not be exported, re-exported or transferred (a) to any country listed in Country Group E:1 in Supplement No. 1 to part 740 of the EAR (currently, Cuba, Iran, North Korea, Sudan & Syria); (b) to any prohibited destination or to any end user who has been prohibited from participating in U.S. export transactions by any federal agency of the U.S. government; or (c) for use in connection with the design, development or production of nuclear, chemical or biological weapons, or rocket systems, space launch vehicles, or sounding rockets, or unmanned air vehicle systems.You may not download this software or technical information if you are located in one of these countries or otherwise subject to these restrictions. You may not provide this software or technical information to individuals or entities located in one of these countries or otherwise subject to these restrictions. You are also responsible for compliance with foreign law requirements applicable to the import, export and use of this software and technical information.
0 commit comments