mirror of
https://github.com/wahyd4/home-docker.git
synced 2026-08-09 04:15:52 +10:00
Add feiniu
This commit is contained in:
@@ -51,6 +51,9 @@ spec:
|
||||
- containerPort: 8084
|
||||
name: adguard-port
|
||||
protocol: TCP
|
||||
- containerPort: 8085
|
||||
name: feiniu-port
|
||||
protocol: TCP
|
||||
env:
|
||||
- name: TZ
|
||||
value: Australia/Melbourne
|
||||
@@ -96,6 +99,10 @@ spec:
|
||||
targetPort: 8084
|
||||
protocol: TCP
|
||||
name: adguard-port
|
||||
- port: 8085
|
||||
targetPort: 8085
|
||||
protocol: TCP
|
||||
name: feiniu-port
|
||||
selector:
|
||||
app: home-proxy
|
||||
|
||||
@@ -168,6 +175,18 @@ data:
|
||||
encode gzip zstd
|
||||
}
|
||||
|
||||
# Nas
|
||||
:8085 {
|
||||
log {
|
||||
level {env.CADDY_LOG_LEVEL}
|
||||
output stderr
|
||||
}
|
||||
# nas
|
||||
reverse_proxy 192.168.1.5:5666
|
||||
|
||||
encode gzip zstd
|
||||
}
|
||||
|
||||
---
|
||||
|
||||
apiVersion: networking.k8s.io/v1
|
||||
@@ -422,3 +441,62 @@ spec:
|
||||
number: 8083
|
||||
path: /
|
||||
pathType: Prefix
|
||||
|
||||
|
||||
---
|
||||
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: feiniu-ingress
|
||||
annotations:
|
||||
kubernetes.io/ingress.class: "nginx"
|
||||
kubernetes.io/tls-acme: "true"
|
||||
cert-manager.io/cluster-issuer: "letsencrypt-prod"
|
||||
nginx.ingress.kubernetes.io/proxy-body-size: 1024000m
|
||||
nginx.ingress.kubernetes.io/auth-url: "https://id.junv.cc/oauth2/auth"
|
||||
nginx.ingress.kubernetes.io/auth-signin: "https://id.junv.cc/oauth2/start?rd=https%3A%2F%2F$host$request_uri"
|
||||
spec:
|
||||
tls:
|
||||
- hosts:
|
||||
- feiniu.junv.cc
|
||||
secretName: feiniu-tls
|
||||
rules:
|
||||
- host: feiniu.junv.cc
|
||||
http:
|
||||
paths:
|
||||
- backend:
|
||||
service:
|
||||
name: home-proxy
|
||||
port:
|
||||
number: 8085
|
||||
path: /
|
||||
pathType: Prefix
|
||||
|
||||
---
|
||||
|
||||
# apiVersion: networking.k8s.io/v1
|
||||
# kind: Ingress
|
||||
# metadata:
|
||||
# name: feiniu-home-ingress
|
||||
# annotations:
|
||||
# kubernetes.io/ingress.class: "nginx"
|
||||
# kubernetes.io/tls-acme: "true"
|
||||
# cert-manager.io/cluster-issuer: "letsencrypt-prod"
|
||||
# nginx.ingress.kubernetes.io/proxy-body-size: 1024000m
|
||||
# spec:
|
||||
# tls:
|
||||
# - hosts:
|
||||
# - feiniu.home.junv.cc
|
||||
# secretName: feiniu-home-tls
|
||||
# rules:
|
||||
# - host: feiniu.home.junv.cc
|
||||
# http:
|
||||
# paths:
|
||||
# - backend:
|
||||
# service:
|
||||
# name: home-proxy
|
||||
# port:
|
||||
# number: 8085
|
||||
# path: /
|
||||
# pathType: Prefix
|
||||
Reference in New Issue
Block a user