From e0adfd035fd96df1299cb1d114aeff9d6be1928e Mon Sep 17 00:00:00 2001 From: Mohammad El-Abid Date: Mon, 27 Apr 2015 10:00:48 -0400 Subject: [PATCH] Add information about 444 for nginx in default_sever. --- docs/nginx.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/nginx.md b/docs/nginx.md index 947e7d15f..d7589ca34 100644 --- a/docs/nginx.md +++ b/docs/nginx.md @@ -167,7 +167,7 @@ d6499edb0edb dokku/node-js-app:latest "/bin/bash -c '/star About a mi # Default site -By default, dokku will route any received request with an unknown HOST header value to the lexicographically first site in the nginx config stack. If this is not the desired behavior, you may want to add the following configuration to nginx. This will catch all unknown HOST header values and return a `410 Gone` response. +By default, dokku will route any received request with an unknown HOST header value to the lexicographically first site in the nginx config stack. If this is not the desired behavior, you may want to add the following configuration to nginx. This will catch all unknown HOST header values and return a `410 Gone` response. You can replace the `return 410;` with `return 444;` which will cause nginx to not respond to requests that do not match known domains (connection refused). ``` server {