forked from LondheShubham153/kubestarter
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnginx-configmap.yaml
More file actions
60 lines (60 loc) · 1.45 KB
/
nginx-configmap.yaml
File metadata and controls
60 lines (60 loc) · 1.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
apiVersion: v1
kind: ConfigMap
metadata:
name: nginx-config
namespace: simple-canary
data:
index.html: |
<!DOCTYPE html>
<html>
<head>
<title>NGINX - Version 1</title>
<style>
body {
background-color: #f0f0f0;
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.container {
background-color: white;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
padding: 40px;
text-align: center;
max-width: 600px;
}
h1 {
color: #009639;
margin-bottom: 20px;
}
p {
color: #333;
font-size: 18px;
line-height: 1.6;
}
.version {
margin-top: 30px;
font-weight: bold;
font-size: 24px;
color: #009639;
}
.nginx-logo {
width: 150px;
margin-bottom: 20px;
}
</style>
</head>
<body>
<div class="container">
<img src="https://nginx.org/nginx.png" alt="NGINX Logo" class="nginx-logo">
<h1>Welcome to NGINX!</h1>
<p>If you see this page, the NGINX web server is successfully installed and working.</p>
<div class="version">Version 1 (Stable)</div>
</div>
</body>
</html>