From 85b395f5f088e5eee7ffc5440985795f331ecce6 Mon Sep 17 00:00:00 2001 From: ange Date: Fri, 23 May 2025 06:51:07 +0000 Subject: [PATCH] fix: proxy -> iframe --- default.conf | 9 --------- index.html | 21 +++++++++++++++++++++ manifests/bin/deploy.sh | 2 +- manifests/common/app.yaml | 8 ++++---- 4 files changed, 26 insertions(+), 14 deletions(-) delete mode 100644 default.conf create mode 100644 index.html diff --git a/default.conf b/default.conf deleted file mode 100644 index fc4a95e..0000000 --- a/default.conf +++ /dev/null @@ -1,9 +0,0 @@ -server { - listen 80; - listen [::]:80; - server_name $BASE_URL; - - location / { - proxy_pass https://contact978194.wixsite.com/cocoon-lovina-ok; - } -} diff --git a/index.html b/index.html new file mode 100644 index 0000000..cde8927 --- /dev/null +++ b/index.html @@ -0,0 +1,21 @@ + + + + Cocoon Lovina + + + + + + diff --git a/manifests/bin/deploy.sh b/manifests/bin/deploy.sh index 80d0501..1774315 100755 --- a/manifests/bin/deploy.sh +++ b/manifests/bin/deploy.sh @@ -33,7 +33,7 @@ function kgcmkey() { }; export -f kgcmkey -kcreatecm conf --from-file=default.conf +kcreatecm html --from-file=index.html kapply common/app.yaml diff --git a/manifests/common/app.yaml b/manifests/common/app.yaml index 1dbf468..e7923c4 100644 --- a/manifests/common/app.yaml +++ b/manifests/common/app.yaml @@ -61,9 +61,9 @@ spec: - name: http containerPort: 80 volumeMounts: - - name: conf - mountPath: /etc/nginx/conf.d/ + - name: html + mountPath: /usr/share/nginx/html/ volumes: - - name: conf + - name: html configMap: - name: conf + name: html