ducky/nginx

Paddy 2015-06-22

0:20206854e82f Go to Latest

ducky/nginx/Dockerfile

The beginning of an nginx reverse proxy. Set up a reverse proxy that is based on secondbit/nginx and uses the lua authenticaiton. Right now, this passes correctly to an auth service and a subscriptions service. It also had a debug endpoint for echoing back the headers the request was made with. Right now, everything is super-fragilely hard-coded to use the IP of Paddy's local machine, which obviously should not be the case. Still need to figure out how we're going to do this to work with kubernetes _and_ locally. Kubernetes will give us `my-svc.my-namespace.svc.cluster.local` DNS names to route, round-robin style, to the correct backend, but that's hard to emulate locally (I assume? I haven't looked into it).

History
paddy@0 1 FROM secondbit/nginx:latest
paddy@0 2 EXPOSE 8080