Skip to content

Commit

Permalink
Merge pull request #8 from tdgroot/podman
Browse files Browse the repository at this point in the history
Add podman support for nginx
  • Loading branch information
navarr committed Apr 4, 2023
2 parents 7cada6d + 0b735ac commit 70be181
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 70be181

Please sign in to comment.