Kong / docker-kong-js-pdk

Apache License 2.0
8 stars 9 forks source link

404 not-found error for the services #4

Closed mertingen closed 2 years ago

mertingen commented 3 years ago

In this config.yml file, services conf is like the following.

services:
  - name: example-service
    url: https://mockbin.org
    plugins:
      - name: clacks

I was getting 404 not found and I changed it like the following and it worked well. I think "paths" would be handled properly.

services:
  - url: https://mockbin.org
    routes:
      - paths:
          - "/"
    plugins:
      - name: clacks
sji-hbo commented 2 years ago

+1

mertingen commented 2 years ago

hey @sji-hbo

Have you solved the problem? Because by adding "paths" parameters, it has been solved on my side.

sji-hbo commented 2 years ago

@mertingen yes I was able to solve the problem with your suggestion