Skip to content
forked from sclorg/nginx-ex

An example application repository for the s2i nginx builder image

Notifications You must be signed in to change notification settings

leaqui/nginx-ex

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Nginx HTTP server and reverse proxy (nginx) S2I Sample Application

This is a very basic sample application repository that can be built and deployed on OpenShift using the Nginx HTTP server and a reverse proxy builder image.

The application serves a single static html page via nginx.

To build and run the application:

$ s2i build https://github.com/sclorg/nginx-ex centos/nginx-112-centos7 mynginximage
$ docker run -p 8080:8080 mynginximage
$ # browse to http://localhost:8080

You can also build and deploy the application on OpenShift, assuming you have a working oc command line environment connected to your cluster already:

$ oc new-app centos/nginx-112-centos7~https://github.com/sclorg/nginx-ex

You can also deploy the sample template for the application:

$ oc new-app -f https://raw.githubusercontent.com/sclorg/nginx-ex/master/openshift/templates/nginx.json

About

An example application repository for the s2i nginx builder image

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 100.0%