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