This commit is contained in:
parent
ad8efd7828
commit
85b395f5f0
@ -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
21
index.html
Normal 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>
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user