diff --git a/src/Application/Resources/views/Service/Nginx/vhosts/atmo.conf.twig b/src/Application/Resources/views/Service/Nginx/vhosts/atmo.conf.twig index 276a8c4..59e3144 100644 --- a/src/Application/Resources/views/Service/Nginx/vhosts/atmo.conf.twig +++ b/src/Application/Resources/views/Service/Nginx/vhosts/atmo.conf.twig @@ -15,7 +15,7 @@ server { if ($request_method = 'OPTIONS') { add_header 'Access-Control-Allow-Credentials' 'true'; - add_header 'Access-Control-Allow-Methods' 'GET, POST, PUT, DELETE, OPTIONS'; + add_header 'Access-Control-Allow-Methods' 'GET, POST, PATCH, PUT, DELETE, OPTIONS'; add_header 'Access-Control-Allow-Headers' 'Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Mx-ReqToken,X-Requested-With,X-IODevice-Token'; add_header 'Access-Control-Allow-Origin' "$http_origin"; diff --git a/src/Application/Resources/views/Service/Nginx/vhosts/cerebro.conf.twig b/src/Application/Resources/views/Service/Nginx/vhosts/cerebro.conf.twig index 0851209..6a5d289 100644 --- a/src/Application/Resources/views/Service/Nginx/vhosts/cerebro.conf.twig +++ b/src/Application/Resources/views/Service/Nginx/vhosts/cerebro.conf.twig @@ -15,7 +15,7 @@ server { if ($request_method = 'OPTIONS') { add_header 'Access-Control-Allow-Credentials' 'true'; - add_header 'Access-Control-Allow-Methods' 'GET, POST, PUT, DELETE, OPTIONS'; + add_header 'Access-Control-Allow-Methods' 'GET, POST, PATCH, PUT, DELETE, OPTIONS'; add_header 'Access-Control-Allow-Headers' 'Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Mx-ReqToken,X-Requested-With,X-IODevice-Token'; add_header 'Access-Control-Allow-Origin' "$http_origin"; diff --git a/src/Application/Resources/views/Service/Nginx/vhosts/nodejs.conf.twig b/src/Application/Resources/views/Service/Nginx/vhosts/nodejs.conf.twig index 31ef8fd..21d7fa2 100644 --- a/src/Application/Resources/views/Service/Nginx/vhosts/nodejs.conf.twig +++ b/src/Application/Resources/views/Service/Nginx/vhosts/nodejs.conf.twig @@ -16,7 +16,7 @@ server { if ($request_method = 'OPTIONS') { add_header 'Access-Control-Allow-Credentials' 'true'; - add_header 'Access-Control-Allow-Methods' 'GET, POST, PUT, DELETE, OPTIONS'; + add_header 'Access-Control-Allow-Methods' 'GET, POST, PATCH, PUT, DELETE, OPTIONS'; add_header 'Access-Control-Allow-Headers' 'Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Mx-ReqToken,X-Requested-With,X-IODevice-Token'; add_header 'Access-Control-Allow-Origin' "$http_origin"; diff --git a/src/Application/Resources/views/Service/Nginx/vhosts/php-symfony.conf.twig b/src/Application/Resources/views/Service/Nginx/vhosts/php-symfony.conf.twig index 0e97d4e..0545f6e 100644 --- a/src/Application/Resources/views/Service/Nginx/vhosts/php-symfony.conf.twig +++ b/src/Application/Resources/views/Service/Nginx/vhosts/php-symfony.conf.twig @@ -29,7 +29,7 @@ server { if ($request_method = 'OPTIONS') { add_header 'Access-Control-Allow-Credentials' 'true'; - add_header 'Access-Control-Allow-Methods' 'GET, POST, PUT, DELETE, OPTIONS'; + add_header 'Access-Control-Allow-Methods' 'GET, POST, PATCH, PUT, DELETE, OPTIONS'; add_header 'Access-Control-Allow-Headers' 'Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Mx-ReqToken,X-Requested-With,X-IODevice-Token'; add_header 'Access-Control-Allow-Origin' "$http_origin"; diff --git a/src/Application/Resources/views/Service/Nginx/vhosts/php.conf.twig b/src/Application/Resources/views/Service/Nginx/vhosts/php.conf.twig index ae3643a..3f594df 100644 --- a/src/Application/Resources/views/Service/Nginx/vhosts/php.conf.twig +++ b/src/Application/Resources/views/Service/Nginx/vhosts/php.conf.twig @@ -29,7 +29,7 @@ server { if ($request_method = 'OPTIONS') { add_header 'Access-Control-Allow-Credentials' 'true'; - add_header 'Access-Control-Allow-Methods' 'GET, POST, PUT, DELETE, OPTIONS'; + add_header 'Access-Control-Allow-Methods' 'GET, POST, PATCH, PUT, DELETE, OPTIONS'; add_header 'Access-Control-Allow-Headers' 'Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Mx-ReqToken,X-Requested-With,X-IODevice-Token'; add_header 'Access-Control-Allow-Origin' "$http_origin";