From 0b735aceb3a0fe094e60eb2357d487779eefef69 Mon Sep 17 00:00:00 2001 From: Timon de Groot Date: Wed, 22 Mar 2023 06:08:47 +0100 Subject: [PATCH] Add podman support for nginx --- nginx/etc/nginx/conf.d/default.conf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/nginx/etc/nginx/conf.d/default.conf b/nginx/etc/nginx/conf.d/default.conf index 056d5e7..0f174bc 100644 --- a/nginx/etc/nginx/conf.d/default.conf +++ b/nginx/etc/nginx/conf.d/default.conf @@ -1,5 +1,8 @@ # default Docker DNS server -resolver 127.0.0.11; +# - 127.0.0.11 is the default resolver IP for Docker +# - 10.89.0.1 is the default resolver IP for Podman +resolver 127.0.0.11 10.89.0.1; +resolver_timeout 1s; # Select upstream backend to use based on presense of Xdebug cookies and Blackfire headers map "$http_X_BLACKFIRE_QUERY:$cookie_XDEBUG_SESSION$cookie_XDEBUG_PROFILE$cookie_XDEBUG_TRACE" $fastcgi_backend {