diff --git a/apps/kube/irc/manifests/irc-redirect-configmap.yaml b/apps/kube/irc/manifests/irc-redirect-configmap.yaml index 701684985f..bea088c089 100644 --- a/apps/kube/irc/manifests/irc-redirect-configmap.yaml +++ b/apps/kube/irc/manifests/irc-redirect-configmap.yaml @@ -17,3 +17,18 @@ data: + nginx.conf: | + worker_processes 1; + events { + worker_connections 128; + } + http { + include /etc/nginx/mime.types; + default_type application/octet-stream; + server { + listen 80; + server_name _; + root /usr/share/nginx/html; + index index.html; + } + } diff --git a/apps/kube/irc/manifests/irc-redirect-deployment.yaml b/apps/kube/irc/manifests/irc-redirect-deployment.yaml index 4b08e20f62..0ba555c044 100644 --- a/apps/kube/irc/manifests/irc-redirect-deployment.yaml +++ b/apps/kube/irc/manifests/irc-redirect-deployment.yaml @@ -26,12 +26,16 @@ spec: - name: html mountPath: /usr/share/nginx/html readOnly: true + - name: nginx-conf + mountPath: /etc/nginx/nginx.conf + subPath: nginx.conf + readOnly: true resources: requests: memory: '16Mi' cpu: '10m' limits: - memory: '32Mi' + memory: '64Mi' cpu: '50m' livenessProbe: httpGet: @@ -49,6 +53,12 @@ spec: - name: html configMap: name: irc-redirect-html + - name: nginx-conf + configMap: + name: irc-redirect-html + items: + - key: nginx.conf + path: nginx.conf --- apiVersion: v1 kind: Service