ngrok
Usa Ngrok per creare un tunnel dal tuo server locale a internet.
Per utilizzare ngrok per inoltrare il tuo server locale su internet, segui questi passaggi:
Registrati
- Vai su https://ngrok.com/ e registrati per un account.
Installazione Docker
- Copia il tuo auth token da: https://dashboard.ngrok.com/get-started/your-authtoken
- Apri un terminale ed esegui il seguente comando:
docker run -d -it -e NGROK_AUTHTOKEN=<your token> ngrok/ngrok http 80
Installazione su Windows
- Scarica il file ZIP da: https://ngrok.com/download
- Estrai il contenuto del file ZIP utilizzando 7zip o WinRar.
- Esegui
ngrok.exe. - Copia il tuo auth token da: https://dashboard.ngrok.com/get-started/your-authtoken
- Nel terminale
ngrok.exe, esegui il seguente comando:ngrok config add-authtoken <your token> - Se non l'hai già fatto, avvia LibreChat normalmente.
- Nel terminale
ngrok.exe, esegui il seguente comando:ngrok http 3080
Vedrai un link che può essere utilizzato per accedere a LibreChat.
Installazione su Linux
- Copia il comando da: https://ngrok.com/download scegliendo l'architettura corretta.
- Esegui il comando nel terminale
- Copia il tuo auth token da: https://dashboard.ngrok.com/get-started/your-authtoken
- esegui il seguente comando:
ngrok config add-authtoken <your token> - Se non l'hai già fatto, avvia LibreChat normalmente.
- esegui il seguente comando:
ngrok http 3080
Installazione su Mac
- Scarica il file ZIP da: https://ngrok.com/download
- Estrai il contenuto del file ZIP utilizzando un'applicazione Mac adatta come Unarchiver.
- Apri il Terminale.
- Naviga verso la directory in cui hai estratto ngrok utilizzando il comando
cd. - Esegui ngrok digitando
./ngrok. - Copia il tuo auth token da: https://dashboard.ngrok.com/get-started/your-authtoken
- Nel terminale in cui hai eseguito ngrok, inserisci il seguente comando:
ngrok authtoken <your token> - Se non l'hai già fatto, avvia LibreChat normalmente.
- Nel terminale in cui hai eseguito ngrok, inserisci il seguente comando:
./ngrok http 3080
Com’è questa guida?
NGINX
Guida passo dopo passo per proteggere il tuo deployment di LibreChat con Nginx come reverse proxy e HTTPS
Traefik
Scopri come utilizzare Traefik come reverse proxy e load balancer per esporre la tua istanza LibreChat in modo sicuro tramite HTTPS con la gestione automatica dei certificati SSL/TLS.