Closed A-Guldborg closed 4 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.
Closed by nginx reverse proxy on swarm manager
Includes:
:5000
in URLapi.minitwit.tech
or similar, to hide API-port (not important)repositories.py
inlecture_notes
repository