Setting up cors for a specific location in nginx

后端 未结 0 753
别跟我提以往
别跟我提以往 2020-12-13 01:03

I have cors in settings of nginx:

server {
   ...

   location / {
        if ($request_method = \'OPTIONS\') {
            add_header \'Access-Control-Allow-         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题