From 6ecc5813aa99c28b6aa658a42a700392bfdbcb04 Mon Sep 17 00:00:00 2001
From: Dennis Ahrens <dennis.ahrens@hs-hannover.de>
Date: Wed, 28 Oct 2020 14:47:05 +0100
Subject: [PATCH] Listen on ipv4 address instead of localhost

---
 postgrest/tpl/nginx.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/postgrest/tpl/nginx.conf b/postgrest/tpl/nginx.conf
index 7725383..e7e8acc 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;
 }
 
-- 
GitLab