mirror of
https://github.com/Direct-Dev-Ru/go-lcg.git
synced 2025-11-16 01:29:55 +00:00
Исправления в ветке auth-feature
This commit is contained in:
64
kustomize/ingress-route.yaml
Normal file
64
kustomize/ingress-route.yaml
Normal file
@@ -0,0 +1,64 @@
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: lcg-route
|
||||
namespace: lcg
|
||||
labels:
|
||||
app: lcg
|
||||
version: v2.0.2
|
||||
spec:
|
||||
entryPoints:
|
||||
- websecure
|
||||
routes:
|
||||
- kind: Rule
|
||||
match: Host(`direct-dev.ru`) && PathPrefix(`/lcg`)
|
||||
services:
|
||||
- name: lcg
|
||||
port: 8080
|
||||
tls:
|
||||
secretName: le-root-direct-dev-ru
|
||||
---
|
||||
|
||||
# apiVersion: traefik.io/v1alpha1
|
||||
# kind: IngressRoute
|
||||
# metadata:
|
||||
# name: lcg-route
|
||||
# namespace: lcg
|
||||
# spec:
|
||||
# entryPoints:
|
||||
# - websecure
|
||||
# routes:
|
||||
# - kind: Rule
|
||||
# match: Host(`direct-dev.ru`) && PathPrefix(`/lcg`)
|
||||
# services:
|
||||
# - name: lcg
|
||||
# port: 8080
|
||||
# middlewares:
|
||||
# - name: lcg-strip-prefix
|
||||
# tls:
|
||||
# secretName: le-root-direct-dev-ru
|
||||
# ---
|
||||
# apiVersion: traefik.io/v1alpha1
|
||||
# kind: Middleware
|
||||
# metadata:
|
||||
# name: lcg-strip-prefix
|
||||
# namespace: lcg
|
||||
# spec:
|
||||
# stripPrefix:
|
||||
# prefixes:
|
||||
# - /lcg
|
||||
# ---
|
||||
# apiVersion: traefik.io/v1alpha1
|
||||
# kind: Middleware
|
||||
# metadata:
|
||||
# name: lcg-headers
|
||||
# namespace: lcg
|
||||
# spec:
|
||||
# headers:
|
||||
# customRequestHeaders:
|
||||
# X-Forwarded-Proto: "https"
|
||||
# X-Forwarded-Port: "443"
|
||||
# customResponseHeaders:
|
||||
# X-Frame-Options: "DENY"
|
||||
# X-Content-Type-Options: "nosniff"
|
||||
# X-XSS-Protection: "1; mode=block"
|
||||
Reference in New Issue
Block a user