sysadmin revisou este gist . Ir para a revisão
1 file changed, 10 insertions
README.md(arquivo criado)
@@ -0,0 +1,10 @@ | |||
1 | + | I've had npm instances completely implode on me before and hated having to remember all the proxy hosts. | |
2 | + | If you can still access the npm system and the sqlite file you can run this command to get a list displayed. | |
3 | + | ||
4 | + | ||
5 | + | sqlite3 /data/database.sqlite "SELECT id, domain_names, forward_host, forward_port FROM proxy_host;" | |
6 | + | ||
7 | + | ||
8 | + | if sqlite isn't installed (some containers use just a sqlite file), install it: | |
9 | + | ||
10 | + | sudo apt -y install sqlite3 |
Próximo
Anterior