Files
Anthias/bin/enable_ssl.sh
2024-07-03 11:00:58 -07:00

12 lines
381 B
Bash
Executable File

#!/bin/bash -ex
cd ~/screenly/ansible
sudo -E ansible-playbook -t enable-ssl site.yml
set +x
echo "You should be all set. You should be able to access Anthias' management interface at https://<your IP>"
echo "NOTE: If you have the firewall enabled, make sure to open it up for HTTPS (port 443)."
echo "Assuming you're running UFW, the command is:"
echo "sudo ufw allow 443/tcp"