Docker compose : Nginx reverse proxy with multiple containers
docker-compose-nginx-reverse-proxy-ii's Introduction
docker-compose-nginx-reverse-proxy-ii's People
Forkers
dalekurt bhaweshksingh shawinder jairnunes munisanath javimosch vickey-wu showroom101 hendrik44 github-clonner athiwatp luposung sevikerr shihabbinali itechnocrat erik-dev365 keltuo decinho13 nghia-hc morganyvm hallicarnassus yyy-team n5fpp rajaaltus swapnildaunde rhinocorps abmed-benmoussa kenjiroe audriusraibis mlkiiwy scoutman57 nevergiveup0211 prakashkushtagi losferite tfilho cuongdinhngo devweb00 alexwoollam pj-smith vdoan t3k3 tranvanthanh866 aka-z cescnguyen docdocker dahmaneaissi emadpres t-amine pichayean kalithug paveldemin srinivas325 nknguyengl alexandre2602 arun9theja nguyendangkhuong desktify linjithnp rsanfer unnmd thomasbrotherton eminmuhammadi kienlo luisqblanco jomoflash danieljablonski-a anemtsov-limcore ajcapacete diasrodri kevin-kao-mh riytxu bozogameing renatoblascodev reinaldoca x1g1 g3n1k timostar1docker-compose-nginx-reverse-proxy-ii's Issues
Reverse-proxy doesn't run
Hello!
Great job! Thank you for it!
I've cloned this project and tried to set up it on my Linux machine, and... I have some problem.
Containers site1 and site2 run normally, ok, but container reverse-proxy shuts down in few seconds after the start.
I've investigated problem and identified that it happens when there are lines
proxy_pass http://site1_app_1;
and
proxy_pass http://site2_app_2;
in default.conf
Please advise how to fix it?
I'm not enough strong in Nginx )))
Thank you in advance!
Communication between sites
Hello, thanks for sharing this.
How would you suggest that site1 container should communicate with site2 container through proxy container? So that when I make an http request from site1's container to 'site2.example.com' it would route through reverse_proxy_proxy_1 container instead of going through the public internet.?
I would like to avoid using docker container names (e.g site1_web_1) since they are not valid urls and they cause problems in most web frameworks if used as host headers
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.