Skip to content

Add support for hostname binding for http/https gateway#846

Merged
XVincentX merged 4 commits intomasterfrom
feature/gateway_listen_host
Nov 30, 2018
Merged

Add support for hostname binding for http/https gateway#846
XVincentX merged 4 commits intomasterfrom
feature/gateway_listen_host

Conversation

@XVincentX
Copy link
Copy Markdown
Member

@XVincentX XVincentX commented Nov 21, 2018

Continuing from #845

@bploetz I'd appreciate if you could actually try this branch on your system to confirm the feature is working correctly.

@codecov
Copy link
Copy Markdown

codecov bot commented Nov 21, 2018

Codecov Report

Merging #846 into master will decrease coverage by 0.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #846      +/-   ##
==========================================
- Coverage   89.23%   89.21%   -0.02%     
==========================================
  Files         131      131              
  Lines        3595     3589       -6     
==========================================
- Hits         3208     3202       -6     
  Misses        387      387
Impacted Files Coverage Δ
lib/gateway/index.js 96.49% <100%> (-0.34%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 58440f6...15bd49c. Read the comment docs.

@XVincentX
Copy link
Copy Markdown
Member Author

@bploetz Do not worry — enjoy your vacation. I think I'll move this over the finish line in meantime then :)

@XVincentX
Copy link
Copy Markdown
Member Author

@kevinswiber @bploetz Tests added.

@XVincentX XVincentX force-pushed the feature/gateway_listen_host branch from a8723bd to 15bd49c Compare November 23, 2018 11:49
@XVincentX
Copy link
Copy Markdown
Member Author

@bploetz Do not worry, it's perfectly fine. Is there any way you could test this on your servers and let me know if your use case is fulfilled?

@XVincentX
Copy link
Copy Markdown
Member Author

XVincentX commented Nov 26, 2018

@bploetz This is because you haven't provided the tls object — it's mandatory for https servers.

https://www.express-gateway.io/docs/configuration/gateway.config.yml/https/

@XVincentX
Copy link
Copy Markdown
Member Author

//cc @kevinswiber @altsang

@XVincentX XVincentX requested a review from DrMegavolt November 27, 2018 14:48
@XVincentX XVincentX merged commit f5b9ac5 into master Nov 30, 2018
@XVincentX XVincentX deleted the feature/gateway_listen_host branch November 30, 2018 18:00
@XVincentX
Copy link
Copy Markdown
Member Author

XVincentX commented Nov 30, 2018 via email

@XVincentX
Copy link
Copy Markdown
Member Author

@bploetz This is now in 1.14.0

@altsang
Copy link
Copy Markdown
Contributor

altsang commented Dec 21, 2018 via email

@altsang
Copy link
Copy Markdown
Contributor

altsang commented Dec 21, 2018 via email

gatherchou pushed a commit to yilu-tech/express-gateway that referenced this pull request Jul 29, 2021
…eway_listen_host

Add support for hostname binding for http/https gateway
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