fix: proxy -> iframe
All checks were successful
/ deploy (push) Successful in 4s

This commit is contained in:
ange 2025-05-23 06:51:07 +00:00
parent ad8efd7828
commit 85b395f5f0
Signed by: ange
GPG Key ID: 9E0C4157BB7BEB1D
4 changed files with 26 additions and 14 deletions

View File

@ -1,9 +0,0 @@
server {
listen 80;
listen [::]:80;
server_name $BASE_URL;
location / {
proxy_pass https://contact978194.wixsite.com/cocoon-lovina-ok;
}
}

21
index.html Normal file
View File

@ -0,0 +1,21 @@
<!DOCTYPE html>
<html>
<head>
<title>Cocoon Lovina</title>
<style>
html, body {
margin: 0;
height: 100%;
}
iframe {
width: 100%;
height: 100%;
border: none;
}
</style>
</head>
<body>
<iframe src="https://contact978194.wixsite.com/cocoon-lovina-ok"></iframe>
</body>
</html>

View File

@ -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

View File

@ -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