Skip to content

Commit

Permalink
Add podman support for nginx
Browse files Browse the repository at this point in the history
  • Loading branch information
tdgroot committed Mar 22, 2023
1 parent 4c70a95 commit 0b735ac
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion nginx/etc/nginx/conf.d/default.conf
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down

0 comments on commit 0b735ac

Please sign in to comment.