Skip to content

Commit 04485d0

Browse files
authored
Update nginx-conf.yaml
1 parent 9ff03ca commit 04485d0

File tree

1 file changed

+4
-14
lines changed

1 file changed

+4
-14
lines changed

examples/nginx/nginx-conf.yaml

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,15 @@
11
apiVersion: v1
2+
kind: ConfigMap
3+
metadata:
4+
name: nginx
5+
namespace:
26
data:
37
nginx.conf: |
48
server {
59
listen 80;
610
server_name www.noverit.com;
7-
8-
charset koi8-r;
9-
access_log /var/log/nginx/host.access.log main;
10-
1111
location / {
1212
root /usr/share/nginx/html;
1313
index index.html index.htm;
1414
}
15-
16-
error_page 404 /404.html;
17-
error_page 500 502 503 504 /50x.html;
18-
location = /50x.html {
19-
root /usr/share/nginx/html;
20-
}
2115
}
22-
kind: ConfigMap
23-
metadata:
24-
name: nginxconfig
25-
namespace:

0 commit comments

Comments
 (0)