diff --git a/postgrest/tpl/nginx.conf b/postgrest/tpl/nginx.conf index 7725383b259e14bacdf29d9d6ff2e5adeaad7dfd..e7e8acc310367447b0c415283d4b1e7e6d4de896 100644 --- a/postgrest/tpl/nginx.conf +++ b/postgrest/tpl/nginx.conf @@ -1,6 +1,6 @@ # This file is written by salt. Don't even think about it. upstream postgrest_{{ instance_name }} { - server localhost:{{ postgrest_port }}; + server 127.0.0.1:{{ postgrest_port }}; keepalive 64; }