The streamlit_equity.service -file should be copied to:
/etc/systemd/system/streamlit_equity.service
The contents of nginx.conf -file should be copied into following file:
/etc/nginx/sites-available/streamlit_equity
After this, a symbolic link to this file needs to be added as follows:
sudo ln -s /etc/nginx/sites-available/streamlit_equity /etc/nginx/sites-enabled/
Install necessary packages:
sudo apt install certbot python3-certbot-nginx
Get SSL certificates (certbot renews them automatically):
sudo certbot --nginx -d equity.gistlab.science -d www.equity.gistlab.science