--- 
apiVersion: v1
data: 
  nginx.conf: |-
      events {
      }
      http {
        server {
          listen 80 default_server;
          listen [::]:80 default_server;
      
          index    index.html index.htm index.php;
      
          root /var/www/html;
          server_name _;
          location / {
            try_files $uri $uri/ =404;
          }
          location ~ \.php$ {
            include fastcgi_params;
            fastcgi_param REQUEST_METHOD $request_method;
            fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
            fastcgi_pass 127.0.0.1:9000;
          }
        }
      }
kind: ConfigMap
metadata: 
  name: nginx-config
