Home > Mobile >  Do I need reverse proxy like nginx for Azure web app service?
Do I need reverse proxy like nginx for Azure web app service?

Time:04-29

This is a very basic question, but I couldn't find a clear answer.

So, normally a reverse proxy should stand before web servers (i.e. expressjs). But most Azure Web App Service examples don't consider reverse proxy.

So, are there some functions in Azure Web Service that act as a reverse proxy?

Or do we still have to add a reverse proxy? If so, could you point out a good example? Azure Web App Service only supports a single container, but a common way is to put a reverse proxy and a web server in separate containers.

CodePudding user response:

  • You can deploy existing app service/container, which runs NGINX and can perform the work of a reverse proxy, which sits directly in front of your another Host.
  • To configure Nginx as a reverse proxy to forward HTTP requests to your ASP.NET Core app, modify /etc/nginx/sites-available/default.

Please refer Configure a reverse proxy server for more information.

  • Related