Connecting a Frontend to a Backend Tutorial.

This commit is contained in:
Jeff Mendoza
2016-12-12 11:31:31 -08:00
parent 2662a4a20e
commit 1739a02841
11 changed files with 359 additions and 0 deletions
@@ -0,0 +1,4 @@
FROM nginx:1.9.14
RUN rm /etc/nginx/conf.d/default.conf
COPY frontend.conf /etc/nginx/conf.d
@@ -0,0 +1,11 @@
upstream hello {
server hello;
}
server {
listen 80;
location / {
proxy_pass http://hello;
}
}