Im building a React-app and currently want to redirect requests to the port 80 (via http://...) to the port 443 (respond as https://...). I handle de url change on my app constructor (checking window.location), but actually, my problem is about docker I think. On my docker-compose i have something like:
.... (image of reactapp)
ports:
- "443:443"
- "80:443"
....
So, my react app is just listen to port 443, some suggestions? Thanks!