9d675b51ed
- Add the missing dependencies to the requirements.txt - Change the builder ports to non-standard locations - Add the /b1/socket and /b1/controller endpoints in nginx, to map to the build manager - Have the build manager start automatically.
33 lines
No EOL
811 B
Text
33 lines
No EOL
811 B
Text
types_hash_max_size 2048;
|
|
include /usr/local/nginx/conf/mime.types.default;
|
|
|
|
default_type application/octet-stream;
|
|
access_log /var/log/nginx/nginx.access.log;
|
|
sendfile on;
|
|
|
|
gzip on;
|
|
gzip_http_version 1.0;
|
|
gzip_proxied any;
|
|
gzip_min_length 500;
|
|
gzip_disable "MSIE [1-6]\.";
|
|
gzip_types text/plain text/xml text/css
|
|
text/javascript application/x-javascript
|
|
application/octet-stream;
|
|
|
|
upstream web_app_server {
|
|
server unix:/tmp/gunicorn_web.sock fail_timeout=0;
|
|
}
|
|
upstream verbs_app_server {
|
|
server unix:/tmp/gunicorn_verbs.sock fail_timeout=0;
|
|
}
|
|
upstream registry_app_server {
|
|
server unix:/tmp/gunicorn_registry.sock fail_timeout=0;
|
|
}
|
|
|
|
upstream build_manager_controller_server {
|
|
server localhost:8686;
|
|
}
|
|
|
|
upstream build_manager_websocket_server {
|
|
server localhost:8787;
|
|
} |