Is reverse proxy recommended in production environment?

Solution 1:

According to Krestel official documentation is a good practice to use a reverse proxy. The implementation doc is good and it goes into more details about it: https://docs.microsoft.com/en-us/aspnet/core/fundamentals/servers/kestrel?view=aspnetcore-5.0

If only one frontend server is powerful enough to maintain your workload I don't see any problem with that.

Solution 2:

It's most of the time a good idea to reverse proxy applications and it's default behaviour in the most setup. It gives you flexibility, maintainability and security as well.