Skip to content

Commit

Permalink
fix: without nginx
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcossIC committed Nov 24, 2024
1 parent 0881b94 commit e5b4d15
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions server/k8s/gateway-ingress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ metadata:
annotations:
kubernetes.io/ingress.class: "gce"
kubernetes.io/ingress.allow-http: "true"
networking.gke.io/v1beta1.FrontendConfig: "gateway-frontend-config"
spec:
rules:
- http:
Expand All @@ -17,17 +16,4 @@ spec:
service:
name: gateway-service
port:
number: 80
---
apiVersion: networking.gke.io/v1beta1
kind: FrontendConfig
metadata:
name: gateway-frontend-config
namespace: gateway
spec:
cors:
allowOrigin: ["*"]
allowMethods: ["GET", "POST", "PUT", "DELETE", "OPTIONS"]
allowHeaders: ["DNT", "X-CustomHeader", "Keep-Alive", "User-Agent", "X-Requested-With", "If-Modified-Since", "Cache-Control", "Content-Type", "Authorization", "Set-Cookie", "Cookie"]
allowCredentials: true
---
number: 80

0 comments on commit e5b4d15

Please sign in to comment.