-
Hi, i would like to know, is Nginx used ?
Thanks a lot for thoses informations |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments
-
Only Traefik is used as reverse proxy. Nginx is used inside frontend docker container. I am sure nginx is not used anywhere else. |
Beta Was this translation helpful? Give feedback.
-
why it is used inside frontend docker container and not has reverse proxy ? |
Beta Was this translation helpful? Give feedback.
-
Nginx is not only reverse proxy, it is also a web server. In this case it is configured to be used as a webserver to serve react app, you can see it in nginx.conf. The only reverse proxy used in this project is traefik. I think traefik is more modern than ngnix, so it was chosen for this project. |
Beta Was this translation helpful? Give feedback.
-
I don't understand really well... So how many servers are set up on this project ? |
Beta Was this translation helpful? Give feedback.
-
Each container is a server. You can run reach container separately. I think you need to read more about docker/ docker compose and practice on simpler projects first |
Beta Was this translation helpful? Give feedback.
-
I know about docker and compose. |
Beta Was this translation helpful? Give feedback.
-
It actually is quite a standard architecture. It allows scaling the backend independently of the front end. And the load balancing can be for the backend services (which could be more than one) |
Beta Was this translation helpful? Give feedback.
Nginx is not only reverse proxy, it is also a web server.
In this case it is configured to be used as a webserver to serve react app, you can see it in nginx.conf.
The only reverse proxy used in this project is traefik.
I think traefik is more modern than ngnix, so it was chosen for this project.