Since the whole project is deployed using Docker containers with different ports I decide to implement a reverse proxy using Nginx. Using that I only allow the following ports to be accessed from outside:
443
: I already configured self-signed certificates with Certbot to serve the project through https.80
: Just for those who want to enter using http, but they will be redirected to the secure port.
You can find the whole configuration for this project in config/default.conf
.