arjunradiant commented on issue #11674:
URL: https://github.com/apache/apisix/issues/11674#issuecomment-2434919023

   I was able to resolve it by deleting the pvc and creating and attaching a 
new pvc to it , i have one more doubt I have a service running in gke and for 
example the dns is www.xyz.com , i am using apisix gateway for it , my question 
is currently i am able to use only http://www.xyz.com but i want to use https , 
how can i do it , this is my yaml
   
   apiVersion: apisix.apache.org/v2beta3
   kind: ApisixRoute
   metadata:
     name: xyz-route
   spec:
     http:
     - name: xyz
       match:
         hosts:
         - xyz.com
         paths:
         - /xyz/*
       backends:
       - serviceName: xyz
         servicePort: 80
       plugins:
       - name: proxy-rewrite
         enable: true
         config:
           regex_uri:
           - ^/xyz/(.*)
           - "/$1"
       - name: cors
         enable: true
         config:
           allow_origins: "*"
           allow_methods: "GET, POST, PUT, DELETE, PATCH, OPTIONS, 
MKCOL,COPY,MOVE,PROPFIND,PROPFIND,LOCK,UNLOCK,PATCH,TRACE"
           allow_headers: "*"
           expose_headers: "*"
     - name: swagger-ui
       match:
         hosts:
         - xyz.com
         paths:
         - /xyz/swagger-ui/*
       backends:
       - serviceName: xyz
         servicePort: 80
       plugins:
       - name: proxy-rewrite
         enable: true
         config:
           regex_uri:
           - ^/swagger-ui/(.*)
           - "/$1"
       - name: cors
         enable: true
         config:
           allow_origins: "*"
           allow_methods: "GET, POST, PUT, DELETE, PATCH, OPTIONS, 
MKCOL,COPY,MOVE,PROPFIND,PROPFIND,LOCK,UNLOCK,PATCH,TRACE"
           allow_headers: "*"
           expose_headers: "*"
     - name: swagger-config
       match:
         hosts:
         - xyz.com
         paths:
         - /xyz/v3/*
       backends:
       - serviceName: xyz
         servicePort: 80
       plugins:
       - name: proxy-rewrite
         enable: true
         config:
           regex_uri:
           - ^(xyz/v3/.*)
           - "/$1"
       - name: cors
         enable: true
         config:
           allow_origins: "*"
           allow_methods: "GET, POST, PUT, DELETE, PATCH, OPTIONS, 
MKCOL,COPY,MOVE,PROPFIND,PROPFIND,LOCK,UNLOCK,PATCH,TRACE"
           allow_headers: "*"
           expose_headers: "*"
     - name: feeservice-wildcard
       match:
         hosts:
         - xyz.com
         paths:
         - "/*-xyz/*"
       backends:
       - serviceName: xyz
         servicePort: 80
       plugins:
       - name: proxy-rewrite
         enable: true
         config:
           regex_uri:
           - ^/(.*)
           - "/$1"
       - name: cors
         enable: true
         config:
           allow_origins: "*"
           allow_methods: "GET, POST, PUT, DELETE, PATCH, OPTIONS, 
MKCOL,COPY,MOVE,PROPFIND,PROPFIND,LOCK,UNLOCK,PATCH,TRACE"
           allow_headers: "*"
           expose_headers: "*"


-- 
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