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 个月前
相关内容
- AWS 官方已更新 2 年前
- AWS 官方已更新 2 年前
- AWS 官方已更新 8 个月前
- AWS 官方已更新 2 年前