Remove CORS middleware from public share configuration
This commit is contained in:
@@ -1,25 +1,9 @@
|
||||
http:
|
||||
middlewares:
|
||||
public-cors:
|
||||
headers:
|
||||
accessControlAllowOrigin:
|
||||
- "*"
|
||||
accessControlAllowMethods:
|
||||
- "GET"
|
||||
- "HEAD"
|
||||
- "OPTIONS"
|
||||
accessControlAllowHeaders:
|
||||
- "Range"
|
||||
- "Authorization"
|
||||
- "Content-Type"
|
||||
addVaryHeader: true
|
||||
routers:
|
||||
public-share-router:
|
||||
rule: "Host(`www.b0esche.cloud`) && PathPrefix(`/public/`)"
|
||||
rule: 'Host("www.b0esche.cloud") && PathPrefix("/public/")'
|
||||
entryPoints:
|
||||
- websecure
|
||||
middlewares:
|
||||
- public-cors
|
||||
service: public-share-service
|
||||
tls: {}
|
||||
services:
|
||||
|
||||
Reference in New Issue
Block a user