2 Risposte
- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
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,
con risposta 5 mesi fa
0
Hello Marcin,
Thank you for your great and fast answer.
It is done. I solved the problem.
Thank you,
Mustafa
con risposta 5 mesi fa
Contenuto pertinente
- AWS UFFICIALEAggiornata 2 anni fa
- AWS UFFICIALEAggiornata 2 anni fa
- AWS UFFICIALEAggiornata 4 mesi fa
- AWS UFFICIALEAggiornata 3 anni fa