WeiWANG0118 opened a new issue #6533:
URL: https://github.com/apache/apisix/issues/6533


   ### Issue description
   
   Hello, 
   
   I deployed Apisix server on rancher, but it's not very stable. 
   1. Sometimes apisix server will crash because of a cross-domain problem. I 
already enabled the global cors plugin. 
   2. Sometimes, it will crash because the proxy-rewrite is not working. For 
information, my upstream will only take uri api/*, my route is v3/api/*, so I 
used proxy-rewrite plugin to rewrite the uri.  But sometimes the apisix still 
sends v3/api/* to my upstream. 
   
   PS: there is no errors in errors.log.
   
   ### Environment
   
   Cors
   ```
   {
     "allow_origins": "**",
     "allow_methods": "**",
     "allow_headers": "**",
     "expose_headers": "**",
     "max_age": 5,
     "allow_credential": true
   }
   ```
   proxy-rewrite
   ```
   "proxy-rewrite": {
         "regex_uri": [
           "^/v3/api/(.*)",
           "/api/$1"
         ],
         "scheme": "https"
       }
   ```
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to