wy580477 / Leech-AIO-APP-EX

All Downloaders with Rclone auto-upload & Telegram notification on Docker | Docker ๅ…จ่ƒฝไธ‹่ฝฝ APP + Rclone ่‡ชๅŠจไธŠไผ  + ็”ตๆŠฅไปปๅŠกๅฎŒๆˆ้€š็Ÿฅ
191 stars 186 forks source link

deployed on AWS Ubuntu and can't access to app #71

Closed KevinNitroG closed 1 year ago

KevinNitroG commented 1 year ago

I'm needing help ๐Ÿ˜“

I have an AWS EC2 Ubuntu Instance and run those commands:

touch docker-compose_en.yml
vi docker-compose_en.yml
(enter the code...)
sudo snap install docker
sudo chmod 666 /var/run/docker.sock
sudo ufw allow 22
sudo ufw allow 80
sudo ufw allow 443
sudo ufw status enable

docker-compose -f docker-compose_en.yml up -d

Then I access the app through https://[my_EC2_instance_ip]/portal but it showed this image Sorry I don't have much experience in using vps, docker and coding... ๐Ÿ˜“๐Ÿ˜“

wy580477 commented 1 year ago

Nowadays browsers force ssl connection on default.

Get a domain name point to your vps ip. Then fill the domain name in CADDY_DOMAIN env, caddy will enable auto-https. You don't need to buy a domain. Free ddns service domain works too.

KevinNitroG commented 1 year ago

Thank you I will try it If it works I will close the this ๐Ÿฅฐ๐Ÿฅฐ