Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
# cd /etc/kong
# mv kong.conf.default kong.conf
# vim kong.conf
====kong.conf====
database = postgres
pg_host = 127.0.0.1
pg_port = 5432
pg_timeout = 5000
pg_user = kong
pg_password = <password>
pg_database = kong
=================

# kong migrations bootstrap ./kong.conf

postgresql 연결 에러 시 아래와 같이 설정합니다.

/var/lib/pgsql/11/data/pg_hba.conf

...

4. Kong 시작

앞서 설정한 kong.conf 파일을 통해 Kong을 시작합니다.

...