ducky/nginx

Paddy 2015-06-30 Parent:20206854e82f

1:16bf0d2d11d1 Go to Latest

ducky/nginx/Dockerfile

Make nginx kubernetes-ready. Add our upstream definitions, to route requests to our ducky-authd service and our ducky-subscriptionsd service. Remove the test handler that was installed at /. Update our proxy-redirect rules so the proxy redirects actually work now, and what used to redirect us to /profiles now redirects us to /auth/profiles. Define a Replication Controller that will spin up nginx pods for us and auto-attach the necessary JWT secret volume to read our JWT secret. Define a Service that will route to nginx for us.

History
1 FROM secondbit/nginx:latest
2 EXPOSE 8080