cm update 1
This commit is contained in:
@@ -3,6 +3,10 @@ kind: ConfigMap
|
|||||||
metadata:
|
metadata:
|
||||||
name: nginx-http-cm
|
name: nginx-http-cm
|
||||||
data:
|
data:
|
||||||
|
# key: value
|
||||||
|
# file: |
|
||||||
|
# content
|
||||||
|
# ---
|
||||||
nginx.conf: |
|
nginx.conf: |
|
||||||
user nginx;
|
user nginx;
|
||||||
worker_processes 1;
|
worker_processes 1;
|
||||||
@@ -14,8 +18,8 @@ data:
|
|||||||
listen 80;
|
listen 80;
|
||||||
server_name _;
|
server_name _;
|
||||||
location / {
|
location / {
|
||||||
root /usr/share/nginx/html;
|
root /usr/share/nginx/html;
|
||||||
index index.html index.htm;
|
index index.html index.htm;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user