2 Answers
- Newest
- Most votes
- Most comments
2
Hi hepsys,
You expose your nginx on 8080 port on your host machine, so you need to open port 8080 on SecurityGroup to reach it over public IP with that port using curl http://public_ip:8080/
You can also rebind docker nginx to expose on port 80 on host machine so change to "-p 80:80" then curl http://public_ip/ should work.
Thanks,
answered 4 months ago
0
Hello Marcin,
Thank you for your great and fast answer.
It is done. I solved the problem.
Thank you,
Mustafa
answered 4 months ago
Relevant content
- asked 2 years ago
- asked 10 months ago
- asked 3 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 4 years ago
- AWS OFFICIALUpdated a year ago