add a basic index

point ingress for certain directly hosted sites ... to the sites.
other things might be DNS like would be normal for S3 but it
still would need to be in the wildcard tls so it's easier to just
do this centrally.  I am one person, after all :D
This commit is contained in:
James Andariese 2025-04-11 00:36:03 -05:00
parent 7152450836
commit 4f10f9047d
2 changed files with 37 additions and 0 deletions

29
direct-hosted-sites.yaml Normal file
View File

@ -0,0 +1,29 @@
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: direct-hosted-sites
namespace: garage
spec:
ingressClassName: haproxy
rules:
- host: 'strudelline.net'
http:
paths:
- path: /
pathType: Exact
backend:
service:
name: garage
port:
name: s3-web
- host: 'strudelline.net'
http:
paths:
- path: /index.html
pathType: Exact
backend:
service:
name: garage
port:
name: s3-web

8
index.html Normal file
View File

@ -0,0 +1,8 @@
<html>
<head>
<title>CASCADE</title>
</head>
<body>
CASCADE
</body>
</html>