fixed .gitignore issue

This commit is contained in:
gregory hendrickson
2023-01-26 01:51:54 -08:00
parent 9dc171d30b
commit a64ac34a99
3 changed files with 68 additions and 8 deletions

View File

@@ -0,0 +1,31 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: ingress-service
namespace: blog
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /
nginx.ingress.kubernetes.io/configuration-snippet: |
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Host $host;
proxy_pass_request_headers on;
spec:
rules:
- host: $(VAR_HOST)
http:
paths:
- path: /
pathType: Prefix
pathRewrite: /ghost/
backend:
service:
name: ghost-blog-service
port:
name: http
path: /
tls:
- hosts:
- $(VAR_HOST)
secretName: $(SECRET_NAME)