31 lines
812 B
INI
31 lines
812 B
INI
[cors]
|
|
; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
; ;
|
|
; ; More information about CORS can be found here: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#The_HTTP_response_headers
|
|
; ; enable cors headers (disabled by default)
|
|
ENABLED = true
|
|
; ;
|
|
; ; scheme of allowed requests
|
|
; SCHEME = http
|
|
; ;
|
|
; ; list of requesting domains that are allowed
|
|
ALLOW_DOMAIN = *
|
|
; ;
|
|
; ; allow subdomains of headers listed above to request
|
|
; ALLOW_SUBDOMAIN = false
|
|
; ;
|
|
; ; list of methods allowed to request
|
|
METHODS = GET,HEAD,POST,PUT,PATCH,DELETE,OPTIONS
|
|
; ;
|
|
; ; max time to cache response
|
|
; MAX_AGE = 10m
|
|
; ;
|
|
; ; allow request with credentials
|
|
ALLOW_CREDENTIALS = true
|
|
; ;
|
|
; ; headers to permit
|
|
HEADERS = Content-Type,User-Agent
|
|
|
|
[federation]
|
|
ENABLED = true
|