A 1-post collection

Using Apache Web Server as a reverse-proxy for ASP.NET Core

Apache is a very popular HTTP server and can be configured as a proxy to redirect HTTP traffic similar to nginx. In this guide, we will learn how to set up Apache on CentOS 7 and use it as a reverse-proxy to welcome incoming connections and redirect them to the ASP.NET Core application running on Kestrel. For this purpose, we will use the mod_proxy extension and other related Apache modules. Prerequisites A server running CentOS 7, with a standard user account with sudo privilege. An existing ASP.NET Core application. Publish your application Run dotnet publish -c Release from your development environment to package your application into a self-contained directory that can run on your server. The published...