|
|
|
@@ -60,7 +60,7 @@ caddy_global_sites_defaults:
|
|
|
|
cors: false
|
|
|
|
cors: false
|
|
|
|
cors_allowed_origins: [] # Minimum 1 required
|
|
|
|
cors_allowed_origins: [] # Minimum 1 required
|
|
|
|
cors_allowed_methods:
|
|
|
|
cors_allowed_methods:
|
|
|
|
# These variables can be used for adding and removing extensions from the list:
|
|
|
|
# These variables can be used for adding and removing methods from the list:
|
|
|
|
# cors_allowed_methods_add: ["XXX"]
|
|
|
|
# cors_allowed_methods_add: ["XXX"]
|
|
|
|
# cors_allowed_methods_del: ["YYY"]
|
|
|
|
# cors_allowed_methods_del: ["YYY"]
|
|
|
|
- "GET"
|
|
|
|
- "GET"
|
|
|
|
@@ -68,7 +68,7 @@ caddy_global_sites_defaults:
|
|
|
|
- "POST"
|
|
|
|
- "POST"
|
|
|
|
- "OPTIONS"
|
|
|
|
- "OPTIONS"
|
|
|
|
cors_allowed_headers:
|
|
|
|
cors_allowed_headers:
|
|
|
|
# These variables can be used for adding and removing extensions from the list:
|
|
|
|
# These variables can be used for adding and removing headers from the list:
|
|
|
|
# cors_allowed_headers_add: ["Xxx"]
|
|
|
|
# cors_allowed_headers_add: ["Xxx"]
|
|
|
|
# cors_allowed_headers_del: ["Yyy"]
|
|
|
|
# cors_allowed_headers_del: ["Yyy"]
|
|
|
|
- "Cache-Control"
|
|
|
|
- "Cache-Control"
|
|
|
|
@@ -79,12 +79,12 @@ caddy_global_sites_defaults:
|
|
|
|
cors_max_age: 3600
|
|
|
|
cors_max_age: 3600
|
|
|
|
cors_allowed_credentials: false
|
|
|
|
cors_allowed_credentials: false
|
|
|
|
cors_vary:
|
|
|
|
cors_vary:
|
|
|
|
# These variables can be used for adding and removing extensions from the list:
|
|
|
|
# These variables can be used for adding and removing headers from the list:
|
|
|
|
# cors_vary_add: ["Xxx"]
|
|
|
|
# cors_vary_add: ["Xxx"]
|
|
|
|
# cors_vary_del: ["Yyy"]
|
|
|
|
# cors_vary_del: ["Yyy"]
|
|
|
|
- "Origin"
|
|
|
|
- "Origin"
|
|
|
|
cors_exposed_headers:
|
|
|
|
cors_exposed_headers:
|
|
|
|
# These variables can be used for adding and removing extensions from the list:
|
|
|
|
# These variables can be used for adding and removing headers from the list:
|
|
|
|
# cors_exposed_headers_add: ["Xxx"]
|
|
|
|
# cors_exposed_headers_add: ["Xxx"]
|
|
|
|
# cors_exposed_headers_del: ["Yyy"]
|
|
|
|
# cors_exposed_headers_del: ["Yyy"]
|
|
|
|
- "Content-Length"
|
|
|
|
- "Content-Length"
|
|
|
|
@@ -309,7 +309,7 @@ caddy_global_sites_defaults:
|
|
|
|
crs_sampling_percentage: 100
|
|
|
|
crs_sampling_percentage: 100
|
|
|
|
crs_allow_method_override_parameter: 0
|
|
|
|
crs_allow_method_override_parameter: 0
|
|
|
|
crs_allowed_methods:
|
|
|
|
crs_allowed_methods:
|
|
|
|
# These variables can be used for adding and removing extensions from the list:
|
|
|
|
# These variables can be used for adding and removing methods from the list:
|
|
|
|
# crs_allowed_methods_add: ["XXX"]
|
|
|
|
# crs_allowed_methods_add: ["XXX"]
|
|
|
|
# crs_allowed_methods_del: ["YYY"]
|
|
|
|
# crs_allowed_methods_del: ["YYY"]
|
|
|
|
- "GET"
|
|
|
|
- "GET"
|
|
|
|
@@ -317,7 +317,7 @@ caddy_global_sites_defaults:
|
|
|
|
- "POST"
|
|
|
|
- "POST"
|
|
|
|
- "OPTIONS"
|
|
|
|
- "OPTIONS"
|
|
|
|
crs_allowed_request_content_type:
|
|
|
|
crs_allowed_request_content_type:
|
|
|
|
# These variables can be used for adding and removing extensions from the list:
|
|
|
|
# These variables can be used for adding and removing content types from the list:
|
|
|
|
# crs_allowed_request_content_type_add: ["|xxx/yyy|"]
|
|
|
|
# crs_allowed_request_content_type_add: ["|xxx/yyy|"]
|
|
|
|
# crs_allowed_request_content_type_del: ["|zzz/aaa|"]
|
|
|
|
# crs_allowed_request_content_type_del: ["|zzz/aaa|"]
|
|
|
|
- "|application/json|"
|
|
|
|
- "|application/json|"
|
|
|
|
@@ -428,7 +428,7 @@ caddy_global_sites_defaults:
|
|
|
|
- ".xsd/"
|
|
|
|
- ".xsd/"
|
|
|
|
- ".xsx/"
|
|
|
|
- ".xsx/"
|
|
|
|
crs_restricted_headers_basic:
|
|
|
|
crs_restricted_headers_basic:
|
|
|
|
# These variables can be used for adding and removing extensions from the list:
|
|
|
|
# These variables can be used for adding and removing headers from the list:
|
|
|
|
# crs_restricted_headers_basic_add: ["/xxx/"]
|
|
|
|
# crs_restricted_headers_basic_add: ["/xxx/"]
|
|
|
|
# crs_restricted_headers_basic_del: ["/yyy/"]
|
|
|
|
# crs_restricted_headers_basic_del: ["/yyy/"]
|
|
|
|
- "/content-encoding/"
|
|
|
|
- "/content-encoding/"
|
|
|
|
@@ -442,12 +442,12 @@ caddy_global_sites_defaults:
|
|
|
|
- "/x-method-override/"
|
|
|
|
- "/x-method-override/"
|
|
|
|
- "/x-middleware-subrequest/"
|
|
|
|
- "/x-middleware-subrequest/"
|
|
|
|
crs_restricted_headers_extended:
|
|
|
|
crs_restricted_headers_extended:
|
|
|
|
# These variables can be used for adding and removing extensions from the list:
|
|
|
|
# These variables can be used for adding and removing headers from the list:
|
|
|
|
# crs_restricted_headers_extended_add: ["/xxx/"]
|
|
|
|
# crs_restricted_headers_extended_add: ["/xxx/"]
|
|
|
|
# crs_restricted_headers_extended_del: ["/yyy/"]
|
|
|
|
# crs_restricted_headers_extended_del: ["/yyy/"]
|
|
|
|
- "/accept-charset/"
|
|
|
|
- "/accept-charset/"
|
|
|
|
crs_allowed_http_versions:
|
|
|
|
crs_allowed_http_versions:
|
|
|
|
# These variables can be used for adding and removing extensions from the list:
|
|
|
|
# These variables can be used for adding and removing protocols from the list:
|
|
|
|
# crs_allowed_http_versions_add: ["HTTP/x.x"]
|
|
|
|
# crs_allowed_http_versions_add: ["HTTP/x.x"]
|
|
|
|
# crs_allowed_http_versions_del: ["HTTP/y.y"]
|
|
|
|
# crs_allowed_http_versions_del: ["HTTP/y.y"]
|
|
|
|
- "HTTP/1.0"
|
|
|
|
- "HTTP/1.0"
|
|
|
|
@@ -457,7 +457,7 @@ caddy_global_sites_defaults:
|
|
|
|
- "HTTP/3"
|
|
|
|
- "HTTP/3"
|
|
|
|
- "HTTP/3.0"
|
|
|
|
- "HTTP/3.0"
|
|
|
|
crs_allowed_request_content_type_charset:
|
|
|
|
crs_allowed_request_content_type_charset:
|
|
|
|
# These variables can be used for adding and removing extensions from the list:
|
|
|
|
# These variables can be used for adding and removing charsets from the list:
|
|
|
|
# crs_allowed_request_content_type_charset_add: ["|xxx|"]
|
|
|
|
# crs_allowed_request_content_type_charset_add: ["|xxx|"]
|
|
|
|
# crs_allowed_request_content_type_charset_del: ["|yyy|"]
|
|
|
|
# crs_allowed_request_content_type_charset_del: ["|yyy|"]
|
|
|
|
- "|utf-8|"
|
|
|
|
- "|utf-8|"
|
|
|
|
|