Nginx allow post to specific location and deny to the rest Nginx allow post to specific location and deny to the rest nginx nginx

Nginx allow post to specific location and deny to the rest


Have you tried to add something like this?

add_header              'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';