apiVersion: v1
kind: ConfigMap
metadata:
  name: nginx-config
  labels:
    tier: backend
data:
  config : |
    server {
      index index.php index.html;
      error_log  /var/log/nginx/error.log;
      access_log /var/log/nginx/access.log;
      
      root  /usr/share/nginx/html;
      location / {
          try_files $uri $uri/ /index.php?$query_string;
      }
    }
