2 個答案
- 最新
- 最多得票
- 最多評論
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,
已回答 5 個月前
0
Hello Marcin,
Thank you for your great and fast answer.
It is done. I solved the problem.
Thank you,
Mustafa
已回答 5 個月前
相關內容
- 已提問 1 年前
- AWS 官方已更新 2 年前
- AWS 官方已更新 8 個月前