Giter VIP home page Giter VIP logo

wildcard_proxy's Introduction

OpenShift Wildcard Proxy

Universal RHMAP platform proxy that can be used as an alternative to wildcard SSL certificates used in the OpenShift environment.

Purpose of this repository

Provide mapping and proxy between public nginx proxy and applications deployed via RHMAP and running on OpenShift.

Running on OpenShift

To install Proxy on OpenShift use supplied template:

oc new-app -f openshift/rhmap-nginx-proxy.json

Running with Docker

Proxy can be launched on any operating system that supports Docker (Windows, Linux and MacOSX)

To run the service pull the image from registry:

docker pull feedhenry/wildcard-proxy-centos

Run downloaded image

docker run -it -e BASE_HOST=test-host.com -p 80:8080 feedhenry/wildcard-proxy-centos

Environment variables

BASE_HOST required

Full base host url that would be used to proxy to the RHMAP applications. It represents the domain name of the OpenShift router DNS name without the first wildcard subdomain.

BASE_PROTOCOL optional

Protocol used to connect to the service

PLATFORM_URL optional

Full URL to RHMAP Core platform. For example https://rhmap.corehost.net

DNS_SERVER optional

DNS server that should be used to query subdomains from BASE_HOST For internal networks you would need to specify your local DNS server. If missing default system (docker dns server) would be used.

LOG_LEVEL optional

Nginx log level. By default it's INFO.

CONTRIBUTING

To contribute to this repository, fork and create a pull request against master.

Maintainers

Changes in this repository will need to be reflected in the OpenShift templates repository that are provided with the RHMAP product. Maintainers of this project are responsible for this update to fh-core-openshift-templates. Any changes being made to this project should also result in a corresponding change to the VERSION file. The OpenShift template should be updated to reflect this change and a Docker image should be built and pushed using these values:

cd docker
docker build -t ${FH_WILDCARD_PROXY_IMAGE}:${FH_WILDCARD_PROXY_IMAGE_VERSION} .
docker push ${FH_WILDCARD_PROXY_IMAGE}:${FH_WILDCARD_PROXY_IMAGE_VERSION}

Base image

Documentation: https://hub.docker.com/r/centos/nginx-18-centos7

Source code: https://github.com/sclorg/nginx-container

wildcard_proxy's People

Contributors

wtrocki avatar philipgough avatar psturc avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.