From 65301620ced16c8312cb98fdca3e5dddf2315267 Mon Sep 17 00:00:00 2001 From: RGBCube Date: Sun, 8 Jun 2025 21:46:36 +0300 Subject: [PATCH] nginx: add all headers to allow-methods --- modules/nginx.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/nginx.nix b/modules/nginx.nix index 87a80fd..493ac76 100644 --- a/modules/nginx.nix +++ b/modules/nginx.nix @@ -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}