Sign inSign up

nigelpoulton/nginx-outside

By nigelpoulton

•Updated over 6 years ago

Simple web server used for Pluralsight video courses

Image
0

374

nigelpoulton/nginx-outside repository overview

Simple web app used to display "Welcome to the outside world" for Kubernetes ambassador container pattern example in Pluralsight multi-container Pods course/module.

index.html

<!DOCTYPE html>
<html>
<head>
<title>NGINX</title>
<style>
    body {
        width: 35em;
        margin: 0 auto;
        font-family: Tahoma, Verdana, Arial, sans-serif;
    }
</style>
</head>
<body>
<h1>Welcome to the outside world!</h1>
</body>
</html>

Dockerfile

# Build from the latest official NGINX image
FROM nginx

LABEL maintainer="Nigel Poulton [email protected] @nigelpoulton"

# Add custom index.html (could be done via ConfigMap, but would detract form the example) 
COPY index.html /usr/share/nginx/html/index.html

Tag summary

Content type

Image

Digest

Size

48.7 MB

Last updated

over 6 years ago

docker pull nigelpoulton/nginx-outside:1.0