digitalocean / nginxconfig.io

βš™οΈ NGINX config generator on steroids πŸ’‰
https://do.co/nginxconfig
MIT License
27.42k stars 2.01k forks source link

Add nginx api gateway template #425

Open kylinsoong opened 1 year ago

kylinsoong commented 1 year ago

NGINX was be used to build modern api gateway can we add nginx config template for api gateway?

the template may including:

kylinsoong commented 1 year ago

I have hit the following error while build on my Mac, any one can give some advices?

It seems I don't have enough rights to access the do-vue, my npm version is 6.13.6.

$ npm ci
npm WARN prepare removing existing node_modules/ before installation
Warning: the ECDSA host key for 'github.com' differs from the key for the IP address '20.205.243.166'rc/nginxconfig.io/node_modules/@jest/fake-timers (462ms)
Offending key for IP in /Users/ksong/.ssh/known_hosts:99
Matching host key in /Users/ksong/.ssh/known_hosts:227
Warning: the ECDSA host key for 'github.com' differs from the key for the IP address '20.205.243.166'
Offending key for IP in /Users/ksong/.ssh/known_hosts:99
Matching host key in /Users/ksong/.ssh/known_hosts:227
Are you sure you want to continue connecting (yes/no)? βΈ¨β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘βΈ© β ¦ extractTree: sill extract minimatch@3.1.2 extracted to /Users/ksong/src/nginxconfig.io/node_modules/minimatβΈ¨               β–‘β–‘β–‘βΈ© β § extractTree: sill extract core-js@3.26.1 extracted to /Users/ksong/src/nginxconfig.io/node_modules/core-js (8566ms)
npm ERR! Error while executing:
npm ERR! /usr/bin/git ls-remote -h -t ssh://git@github.com/do-community/do-vue.git
npm ERR! 
npm ERR! Host key verification failed.
npm ERR! fatal: Could not read from remote repository.
npm ERR! 
npm ERR! Please make sure you have the correct access rights
npm ERR! and the repository exists.
npm ERR! 
npm ERR! exited with error code: 128

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/ksong/.npm/_logs/2023-03-30T03_22_02_982Z-debug.log
MattIPv4 commented 1 year ago

@kylinsoong I'm not familiar with that error -- do-vue is hosted in a public GitHub repository. Perhaps you're seeing that error due to GitHub's RSA SSH key change: https://github.blog/2023-03-23-we-updated-our-rsa-ssh-host-key/