```
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: grpc-ingress
namespace: nginx-ingress
annotations:
kubernetes.io/ingress.class: "nginx"
spec:
tls:
- hosts:
- test.local.com
secretName: default-server-secret
rules:
- host: test.local.com
http:
paths:
- path: /v1/blah/
backend:
serviceName: blah-service
servicePort: 8081
-path: /
backend:
serviceName: web-service
servicePort: 8082
```
However, is there any way, the ingress controller can serve as web-server? and if i have put in the nginx config like this
```
server {
location / {
root /data/www;
}
}
```
inside the controller, where can i do that? Should it be in the configmap??
Thanks and any help is appreciated.
Amit