- Notifications
You must be signed in to change notification settings - Fork 23
Closed
Description
Running the ecs-nginx-proxy without any special config, I'm getting the following error as soon as I introduce a service:
2017/03/06 03:44:09 found cluster name to be: test-reverse-proxy 2017/03/06 03:44:09 updating config 2017/03/06 03:44:10 container is own container. skipping 2017/03/06 03:44:10 running signal command 2017/03/06 03:44:10 ===== output start ===== 2017/03/06 03:44:10 2017/03/06 03:44:10 [emerg] 14#14: could not build server_names_hash, you should increase server_names_hash_bucket_size: 64 nginx: [emerg] could not build server_names_hash, you should increase server_names_hash_bucket_size: 64 2017/03/06 03:44:10 ===== output end ===== 2017/03/06 03:44:10 failed to run signal command 2017/03/06 03:44:10 error: exit status 1 2017/03/06 03:44:10 [] Any idea what could be wrong?
The task definition for the container is:
{ "requiresAttributes": [ { "value": null, "name": "com.amazonaws.ecs.capability.logging-driver.json-file", "targetId": null, "targetType": null }, { "value": null, "name": "com.amazonaws.ecs.capability.docker-remote-api.1.19", "targetId": null, "targetType": null } ], "taskDefinitionArn": "arn:aws:ecs:ap-southeast-2:1234567890:task-definition/hello-world:1", "networkMode": "bridge", "status": "ACTIVE", "revision": 1, "taskRoleArn": null, "containerDefinitions": [ { "volumesFrom": [], "memory": 128, "extraHosts": null, "dnsServers": null, "disableNetworking": null, "dnsSearchDomains": null, "portMappings": [ { "hostPort": 81, "containerPort": 80, "protocol": "tcp" } ], "hostname": null, "essential": true, "entryPoint": null, "mountPoints": [], "name": "hello-world", "ulimits": null, "dockerSecurityOptions": null, "environment": [ { "name": "VIRTUAL_HOST", "value": "helloworld.test-reverse-proxy.a.little.bit.longer" } ], "links": null, "workingDirectory": null, "readonlyRootFilesystem": null, "image": "tutum/hello-world", "command": null, "user": null, "dockerLabels": null, "logConfiguration": { "logDriver": "json-file", "options": { "max-size": "200m" } }, "cpu": 10, "privileged": null, "memoryReservation": null } ], "placementConstraints": [], "volumes": [], "family": "hello-world" } Metadata
Metadata
Assignees
Labels
No labels