git-gurus-itu-devops / itu-minitwit

0 stars 0 forks source link

Switch to minitwit domain #33

Closed A-Guldborg closed 4 months ago

A-Guldborg commented 7 months ago

Includes:

A-Guldborg commented 7 months ago

Guides for setting up certificate: Using nginx Newbie getting help for sinatrarb Certbot

Seems like our current droplet has snapd but might've been installed manually? But we probably need to install that and certbot (sudo snap install --classic certbot ) in the vagrantfile through ssh, then run sudo ln -s /snap/bin/certbot /usr/bin/certbot and lastly sudo certbot certonly --standalone before deploying the container for minitwit. Might also require exposing port 80 somehow?

Might also have to expose ports 80/443 if that isn't done by default, or enable port forwarding somehow instead.

fredpetersen commented 4 months ago

Closed by nginx reverse proxy on swarm manager