dodeeric / langchain-ai-assistant-with-hybrid-rag

This is a LLM chatbot coded with LangChain. The web interface is coded with Streamlit. It implements a hybrid RAG (keyword and semantic search) and chat memory.
https://bmae-ragai-webapp.azurewebsites.net
GNU General Public License v3.0
8 stars 1 forks source link

install certificate on nging rproxy for https (port 443) #50

Closed dodeeric closed 3 weeks ago

dodeeric commented 3 weeks ago

See: https://ngbala6.medium.com/deploy-streamlit-app-on-nginx-cfa327106050

dodeeric commented 3 weeks ago

How To Secure Nginx with Let's Encrypt on Ubuntu 18.04 https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-18-04

How To Create a Self-Signed SSL Certificate for Nginx in Ubuntu 18.04 https://www.digitalocean.com/community/tutorials/how-to-create-a-self-signed-ssl-certificate-for-nginx-in-ubuntu-18-04

dodeeric commented 3 weeks ago

dodeeric@myvm1:~$ sudo certbot --nginx -d bmae.edocloud.be -d www.bmae.edocloud.be Saving debug log to /var/log/letsencrypt/letsencrypt.log Enter email address (used for urgent renewal and security notices) (Enter 'c' to cancel): eric.dodemont@gmail.com


Please read the Terms of Service at https://letsencrypt.org/documents/LE-SA-v1.4-April-3-2024.pdf. You must agree in order to register with the ACME server. Do you agree?


(Y)es/(N)o: Y


Would you be willing, once your first certificate is successfully issued, to share your email address with the Electronic Frontier Foundation, a founding partner of the Let's Encrypt project and the non-profit organization that develops Certbot? We'd like to send you email about our work encrypting the web, EFF news, campaigns, and ways to support digital freedom.


(Y)es/(N)o: Y Account registered. Requesting a certificate for bmae.edocloud.be and www.bmae.edocloud.be

Successfully received certificate. Certificate is saved at: /etc/letsencrypt/live/bmae.edocloud.be/fullchain.pem Key is saved at: /etc/letsencrypt/live/bmae.edocloud.be/privkey.pem This certificate expires on 2024-09-05. These files will be updated when the certificate renews. Certbot has set up a scheduled task to automatically renew this certificate in the background.

Deploying certificate Successfully deployed certificate for bmae.edocloud.be to /etc/nginx/sites-enabled/streamlitnginxconf Successfully deployed certificate for www.bmae.edocloud.be to /etc/nginx/sites-enabled/streamlitnginxconf Congratulations! You have successfully enabled HTTPS on https://bmae.edocloud.be and https://www.bmae.edocloud.be


If you like Certbot, please consider supporting our work by:

dodeeric commented 3 weeks ago

Works ok: https (443)