Modify environments/*.ts to match your setup.
./b
Files are in dist/. Copy them to /root/ui on your ui server, or use a different location and modify the below.
apt update
apt install certbot nodejs npm nginx python3-certbot-nginx- Configure Nginx
- Replace the contents of
/etc/nginx/sites-enabled/defaultwith the following
server {
server_name <enter server host here>;
root /root/ui;
listen 80;
location / {
index index.html;
try_files $uri $uri/ /index.html;
}
}
chmod 755 -R /root
- Finally
certbot --nginx
nginx -t
service nginx restart