1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-27 18:17:44 +00:00

nginx: add all headers to allow-methods

This commit is contained in:
RGBCube 2025-06-08 21:46:36 +03:00
parent 9c581803d3
commit 65301620ce
Signed by: RGBCube
SSH key fingerprint: SHA256:CzqbPcfwt+GxFYNnFVCqoN5Itn4YFrshg1TrnACpA5M

View file

@ -68,7 +68,7 @@ in {
}
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}