Adds keila app.
This commit is contained in:
28
apps/keila/middleware-cors.yaml
Normal file
28
apps/keila/middleware-cors.yaml
Normal file
@@ -0,0 +1,28 @@
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
kind: Middleware
|
||||
metadata:
|
||||
name: cors
|
||||
spec:
|
||||
headers:
|
||||
accessControlAllowCredentials: true
|
||||
accessControlAllowHeaders:
|
||||
- "Content-Type"
|
||||
- "Authorization"
|
||||
- "X-Requested-With"
|
||||
- "Accept"
|
||||
- "Origin"
|
||||
- "Cache-Control"
|
||||
- "X-File-Name"
|
||||
accessControlAllowMethods:
|
||||
- "GET"
|
||||
- "POST"
|
||||
- "PUT"
|
||||
- "DELETE"
|
||||
- "OPTIONS"
|
||||
accessControlAllowOriginList:
|
||||
- "http://localhost:1313"
|
||||
- "https://*.{{ .cloud.domain }}"
|
||||
- "https://{{ .cloud.domain }}"
|
||||
accessControlExposeHeaders:
|
||||
- "*"
|
||||
accessControlMaxAge: 86400
|
Reference in New Issue
Block a user