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 resolver for http nginx configuration #490

Merged
merged 1 commit into from
Jan 16, 2025
Merged
Show file tree
Hide file tree
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
11 changes: 10 additions & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,16 @@
[Unreleased](https://github.com/bird-house/birdhouse-deploy/tree/master) (latest)
------------------------------------------------------------------------------------------------------------------

[//]: # (list changes here, using '-' for each new entry, remove this when items are added)
## Fixes

- Add resolver for http nginx configuration

Nginx requires a resolver to be explicity defined when using `proxy_pass` with a variable in the argument passed
to `proxy_pass`. This resolver is defined explicitly for the https server block but not for the http server block.

This adds the explicit resolver for the http server block as well so that `proxy_pass` works when called using using
http URLs as well.


[2.7.1](https://github.com/bird-house/birdhouse-deploy/tree/2.7.1) (2024-12-20)
------------------------------------------------------------------------------------------------------------------
Expand Down
2 changes: 2 additions & 0 deletions birdhouse/components/proxy/conf.d/frontend.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ server {
listen 80;
server_name localhost;

resolver 127.0.0.11;

${PROXY_INCLUDE_FOR_PORT_80}

# redirect server error pages to the static page /50x.html
Expand Down
Loading