proxy --> internal

This commit is contained in:
Joseph Hanson 2024-10-02 14:11:20 -05:00
parent c4dd8c5e50
commit c00a0789fb
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o
2 changed files with 6 additions and 7 deletions

View file

@ -23,7 +23,7 @@ spec:
HTTP_WORKERS: 4 HTTP_WORKERS: 4
MATRIX_SERVER: https://element.infosec.exchange MATRIX_SERVER: https://element.infosec.exchange
PORT: 8080 PORT: 8080
PROXY_PART: https://piped-proxy.hsn.dev PROXY_PART: https://piped-proxy.jahanson.tech
SENTRY_DSN: SENTRY_DSN:
hibernate.connection.driver_class: org.postgresql.Driver hibernate.connection.driver_class: org.postgresql.Driver
hibernate.connection.url: jdbc:postgresql://{{ index . "host" }}:5432/{{ index . "dbname" }} hibernate.connection.url: jdbc:postgresql://{{ index . "host" }}:5432/{{ index . "dbname" }}

View file

@ -147,7 +147,7 @@ spec:
external-dns.alpha.kubernetes.io/target: external.hsn.dev external-dns.alpha.kubernetes.io/target: external.hsn.dev
external-dns.alpha.kubernetes.io/cloudflare-proxied: "true" external-dns.alpha.kubernetes.io/cloudflare-proxied: "true"
nginx.ingress.kubernetes.io/enable-cors: "true" nginx.ingress.kubernetes.io/enable-cors: "true"
nginx.ingress.kubernetes.io/cors-allow-origin: "https://piped.hsn.dev, https://piped-api.hsn.dev, https://piped-proxy.hsn.dev" nginx.ingress.kubernetes.io/cors-allow-origin: "https://piped.hsn.dev, https://piped-api.hsn.dev, https://piped-proxy.jahanson.tech"
hosts: hosts:
- host: piped-api.hsn.dev - host: piped-api.hsn.dev
paths: paths:
@ -161,7 +161,7 @@ spec:
external-dns.alpha.kubernetes.io/target: external.hsn.dev external-dns.alpha.kubernetes.io/target: external.hsn.dev
external-dns.alpha.kubernetes.io/cloudflare-proxied: "true" external-dns.alpha.kubernetes.io/cloudflare-proxied: "true"
nginx.ingress.kubernetes.io/enable-cors: "true" nginx.ingress.kubernetes.io/enable-cors: "true"
nginx.ingress.kubernetes.io/cors-allow-origin: "https://piped.hsn.dev, https://piped-api.hsn.dev, https://piped-proxy.hsn.dev" nginx.ingress.kubernetes.io/cors-allow-origin: "https://piped.hsn.dev, https://piped-api.hsn.dev, https://piped-proxy.jahanson.tech"
hosts: hosts:
- host: piped.hsn.dev - host: piped.hsn.dev
paths: paths:
@ -170,14 +170,13 @@ spec:
identifier: frontend identifier: frontend
port: http port: http
ytproxy: ytproxy:
className: "external-nginx" className: "internal-nginx"
annotations: annotations:
external-dns.alpha.kubernetes.io/target: external.hsn.dev
external-dns.alpha.kubernetes.io/cloudflare-proxied: "true" external-dns.alpha.kubernetes.io/cloudflare-proxied: "true"
nginx.ingress.kubernetes.io/enable-cors: "true" nginx.ingress.kubernetes.io/enable-cors: "true"
nginx.ingress.kubernetes.io/cors-allow-origin: "https://piped.hsn.dev, https://piped-api.hsn.dev, https://piped-proxy.hsn.dev" nginx.ingress.kubernetes.io/cors-allow-origin: "https://piped.hsn.dev, https://piped-api.hsn.dev, https://piped-proxy.jahanson.tech"
hosts: hosts:
- host: piped-proxy.hsn.dev - host: piped-proxy.jahanson.tech
paths: paths:
- path: / - path: /
service: service: