You can use server-snippet annotation. This seems like exactly what you want to achieve.
More Related Contents:
- Kubernetes service external ip pending
- 413 error with Kubernetes and Nginx ingress controller
- A little confused about trailing slash behavior in nginx
- React-router and nginx
- Nginx location priority
- recommended nginx configuration for meteor
- How do I rewrite URLs in a proxy response in NGINX
- nginx doesn’t listen on port 80 twice?
- Nginx TCP forwarding based on hostname
- Nginx pass_proxy subdirectory without url decoding
- uwsgi upstart on amazon linux
- Nginx variables similar to SetEnv in Apache?
- nginx reverse proxy – how to serve multiple apps
- Ingress vs Load Balancer
- nginx: [emerg] “server” directive is not allowed here
- NGinx Default public www location?
- Use nginx to serve static files from subdirectories of a given directory
- How to serve all existing static files directly with NGINX, but proxy the rest to a backend server.
- How do you change the server header returned by nginx?
- Error 502 in nginx + php5-fpm
- Socket.io with nginx
- Kubernetes Cross Namespace Ingress Network
- nginx – read custom header from upstream server
- Nginx Ingress Controller – Failed Calling Webhook
- Nginx reverse proxy multiple backends
- Ingress configuration for k8s in different namespaces
- Nginx: Reject request if header is not present or wrong
- nginx add headers when returning 400 codes
- SSL Pass-Through in Nginx Reverse proxy?
- Assigning vhosts to Docker ports