This Repository is a simple implementation of a reverse proxy and https configuration of self signed certificates as well as instructions to handle the preflight problem of react and 'Access-Control-Allow-Origin'.
Kudos for ChristianLempa at https://github.com/ChristianLempa/cheat-sheets/blob/c199f41e121e71a96e45a3a4bb2921dfedb35348/misc/ssl-certs.md for providing an easy to use repo for creating self signed certs.
- Home setup and u don't want to buy a domain but u want https traffic
- Perform A stack of security on the nginx instead of the website
- Configure react to connect to ur backend through nginx
- OpenSSL using
https://github.com/ChristianLempa/cheat-sheets/blob/c199f41e121e71a96e45a3a4bb2921dfedb35348/misc/ssl-certs.md - Docker
- Docker-Compose
- Portainer(better to have)
docker-compose up -d inside the shell
- Always set it up as the last step after finishing development
- If u Have 2 services that requires port 80, remember to change the port number of the docker compose inside the docker daemon and in the outside host port : 81:81


