mirror of
https://github.com/RGBCube/ncc
synced 2025-07-28 10:37:44 +00:00
nginx: add all headers to allow-methods
This commit is contained in:
parent
9c581803d3
commit
65301620ce
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ in {
|
||||||
}
|
}
|
||||||
|
|
||||||
map $http_origin $allow_methods {
|
map $http_origin $allow_methods {
|
||||||
~^https://.+\.${domain}$ "GET, HEAD, OPTIONS";
|
~^https://.+\.${domain}$ "CONNECT, DELETE, GET, HEAD, OPTIONS, PATCH, POST, PUT, TRACE";
|
||||||
}
|
}
|
||||||
|
|
||||||
${config.services.nginx.headers}
|
${config.services.nginx.headers}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue