Replaced URL

This commit is contained in:
Tej-Singh-Rana
2020-10-15 13:26:59 +05:30
committed by GitHub
parent 856ea6292e
commit 0cef76025f
@@ -37,7 +37,7 @@ shared Volume at `/work-dir`, and the application container mounts the shared
Volume at `/usr/share/nginx/html`. The init container runs the following command
and then terminates:
wget -O /work-dir/index.html http://kubernetes.io
wget -O /work-dir/index.html http://info.cern.ch
Notice that the init container writes the `index.html` file in the root directory
of the nginx server.
@@ -67,16 +67,13 @@ In your shell, send a GET request to the nginx server:
The output shows that nginx is serving the web page that was written by the init container:
<!Doctype html>
<html id="home">
<html><head></head><body><header>
<title>http://info.cern.ch</title>
</header>
<head>
...
"url": "http://kubernetes.io/"}</script>
</head>
<body>
<h1>http://info.cern.ch - home of the first website</h1>
...
<p>Kubernetes is open source giving you the freedom to take advantage ...</p>
<li><a href="http://info.cern.ch/hypertext/WWW/TheProject.html">Browse the first website</a></li>
...