Closed kodemus closed 4 years ago
We have created an issue in Pivotal Tracker to manage this:
https://www.pivotaltracker.com/story/show/170595121
The labels on this github issue will be updated when the story is started.
@kodemus You're right, it was a bug. Please test it with the fixed buildpack:
cf push theapp -b https://github.com/i6e/nginx-buildpack.git
cf ssh theapp -c "cat app/nginx.conf | grep resolver"
I'll do PR.
I'm going to close this since the PR was resolved. Thanks!
What version of Cloud Foundry and CF CLI are you using? (i.e. What is the output of running
cf curl /v2/info && cf version
?What version of the buildpack you are using?
nginx_buildpack_v1_1_3
I want to push an application with the nameserver injected by cf as described here :
{{nameservers}}
- support for CF internal domain resolverMy code in nginx.conf is :
I expect the dns servers to be extracted from /etc/resolv.conf and injected in the nginx.conf file. It would then become :
The application is not pushed and the following error occurs :
As far as I understand, the issue comes from the file src/nginx/supply/supply.go, line 266 :
instead of
as specified in file src/nginx/varify/varify.go, line 92 :
Please confirm where necessary: