apiVersion: v1
kind: ConfigMap
metadata:
  name: nginx-conf
data:
  nginx.conf: |
    user nginx;
    worker_processes  auto;
    events {
      worker_connections  1024;
    }
    http {
      server {
          listen       80;
          server_name  server;
          location = /basic_status {
            stub_status;
          }
          location / {
            root   /usr/share/nginx/html;
            index  index.html index.htm;
          }
      }
    }
