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

[Backport 4.1.x] [Backport 4.0.x] [Fixes #9041] Docker NGINX listen on ports 80/443 #10343

Merged
merged 1 commit into from
Nov 23, 2022

Conversation

github-actions[bot]
Copy link
Contributor

Backport ed06660 from #10340

Co-authored-by: Francesco Frassinelli <francesco.frassinelli@nina.no>
@cla-bot
Copy link

cla-bot bot commented Nov 23, 2022

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have the users @github-actions[bot] on file. In order for us to review and merge your code, please contact the project maintainers to get yourself added.

@codecov
Copy link

codecov bot commented Nov 23, 2022

Codecov Report

Merging #10343 (b06dfc5) into 4.1.x (fcfe47f) will increase coverage by 0.00%.
The diff coverage is n/a.

Additional details and impacted files
@@           Coverage Diff           @@
##            4.1.x   #10343   +/-   ##
=======================================
  Coverage   61.91%   61.92%           
=======================================
  Files         827      827           
  Lines       50865    50865           
  Branches     6549     6549           
=======================================
+ Hits        31494    31496    +2     
+ Misses      17688    17685    -3     
- Partials     1683     1684    +1     

@afabiani afabiani added this to the 4.0.2 milestone Nov 23, 2022
@afabiani afabiani merged commit f0c3b7c into 4.1.x Nov 23, 2022
@afabiani afabiani deleted the backport-10340-to-4.1.x branch November 23, 2022 11:23
@gannebamm
Copy link
Contributor

This commit leads to a non-working default docker-compose. If I fetch and build the Nginx container will throw this error:

022/11/25 10:10:37 [emerg] 1#1: host not found in "$HTTP_PORT" of the "listen" directive in /etc/nginx/nginx.conf:25
2022-11-25T10:10:42.820832090Z nginx: [emerg] host not found in "$HTTP_PORT" of the "listen" directive in /etc/nginx/nginx.conf:25

I did not change anything else, and it is a fresh build. After reverting the commit, the setup starts properly

@gannebamm
Copy link
Contributor

As said by Frafra:

Users could still experience this issue after applying the patch, if they do not delete the nginx-confd volume. I would actually suggest keeping that volume disabled by default, so that the configuration is created each time, by looking at the environment variables.

There actually was a dangling nginx-confd volume I did not delete first. Sorry for the noise. Everything is fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants