Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add podman support for nginx #8

Merged
merged 1 commit into from
Apr 4, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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;
tdgroot marked this conversation as resolved.
Show resolved Hide resolved
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