Skip to content

Nginx reverse proxy

Based on

Run Nginx as reverse proxy on Openshift

Build

1
2
3
4
oc new-build openshift/nginx~https://github.com/openshift-examples/nginx-reverse-proxy.git \
  --name=nginxbase \
  --context-dir=nginx-reverse-proxy \
  --strategy=source

Build & Deploy

1
2
3
4
5
oc new-app https://github.com/openshift-examples/nginx-reverse-proxy.git \
  --context-dir=nginx-reverse-proxy \
  --strategy=docker \
  --name=reverse-proxy
oc expose svc/reverse-proxy

Last update: April 12, 2020