# nginx-ex **Repository Path**: uccps-samples/nginx-ex ## Basic Information - **Project Name**: nginx-ex - **Description**: An example application repository for the s2i nginx builder image - **Primary Language**: HTML - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2021-09-14 - **Last Updated**: 2024-09-06 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 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 UCCPS using the [Nginx HTTP server and a reverse proxy builder image](https://gitee.com/uccps-samples/nginx-container). The application serves a single static html page via nginx. To build and run the application: ``` $ s2i build https://gitee.com/uccps-samples/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/utccp/nginx-ex` You can also deploy the sample template for the application: `$ oc new-app -f https://gitee.com/uccps-samples/nginx-ex/tree/master/utccp/templates/nginx.json`