②修改配置文件(从96行开始,其他的不变。)如果你和我的配置一模一样,但是之后还是无法运行显示Could not parse configuration at:那么就是你空格的问题了。配置的读取和空格缩进密不可分,你可以选择复制我的配置。
######
## Specify which database to use. Only "cassandra" and "postgres" are currently available.
database: postgres
######
#PostgreSQL configuration
postgres:
host: "127.0.0.1"
port: 5432
######
## Name of the database used by Kong. Will be created if it does not exist.
database: kong
#####
## User authentication settings
user: "kong_user"
password: "kong_pass"
######