From ed0502efc46a5970e69beab09a83255b81a6652e Mon Sep 17 00:00:00 2001 From: Joerg Lehmann Date: Fri, 20 Oct 2023 19:30:23 +0200 Subject: [PATCH] add posibility to configure nginx (i.e. for 404 page) --- nbitwebsite/nbitwebsite.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nbitwebsite/nbitwebsite.yaml b/nbitwebsite/nbitwebsite.yaml index 6e25e9b..6f96e09 100644 --- a/nbitwebsite/nbitwebsite.yaml +++ b/nbitwebsite/nbitwebsite.yaml @@ -29,8 +29,14 @@ spec: volumeMounts: - mountPath: /usr/share/nginx/html name: data-nbitwebsite-host-0 + - mountPath: /etc/nginx/conf.d + name: data-nbitwebsite-config-0 volumes: - hostPath: path: /data/nbitwebsite/document_root type: Directory name: data-nbitwebsite-host-0 + - hostPath: + path: /data/nbitwebsite/conf.d + type: Directory + name: data-nbitwebsite-config-0