diff --git a/aspnetcore/publishing/apache-proxy.md b/aspnetcore/publishing/apache-proxy.md index fb7e9e2c9f..6f95019a16 100644 --- a/aspnetcore/publishing/apache-proxy.md +++ b/aspnetcore/publishing/apache-proxy.md @@ -140,7 +140,7 @@ An example service file for our application. ``` > [!NOTE] -> **User** -- If *apache* is not used by your configuration, the user defined here must be created first and given proper ownership for files +> **User** -- If the user *apache* is not used by your configuration, the user defined here must be created first and given proper ownership for files Save the file and enable the service. diff --git a/aspnetcore/publishing/index.md b/aspnetcore/publishing/index.md index ac503e9dea..39f93a4074 100644 --- a/aspnetcore/publishing/index.md +++ b/aspnetcore/publishing/index.md @@ -20,5 +20,6 @@ ms.prod: aspnet-core - [Publishing to an Azure Web App with Continuous Deployment](azure-continuous-deployment.md) - [🔧 Publishing to a Windows Virtual Machine on Azure](azure-windows-vm.md) - [Publish to a Docker Image](https://azure.microsoft.com/documentation/articles/vs-azure-tools-docker-hosting-web-apps-in-docker) -- [Publish to a Linux Production Environment (using nginx)](linuxproduction.md) +- [Publish to a Linux Production Environment (Nginx on Ubuntu)](linuxproduction.md) +- [Publish to a Linux Production Environment (Apache on CentOS)](apache-proxy.md) - [Use VSTS to Build and Publish to an Azure Web App with Continuous Deployment](vsts-continuous-deployment.md) \ No newline at end of file diff --git a/aspnetcore/publishing/linuxproduction.md b/aspnetcore/publishing/linuxproduction.md index 61c06e29b9..ba67388f09 100644 --- a/aspnetcore/publishing/linuxproduction.md +++ b/aspnetcore/publishing/linuxproduction.md @@ -106,10 +106,10 @@ An example service file for our application. ```text [Unit] - Description=Example .NET Web API Application running on CentOS 7 + Description=Example .NET Web API Application running on Ubuntu [Service] - ExecStart=/usr/local/bin/dotnet /var/aspnetcore/hellomvc/hellomvc.dll + ExecStart=/usr/bin/dotnet /var/aspnetcore/hellomvc/hellomvc.dll Restart=always RestartSec=10 # Restart service after 10 seconds if dotnet service crashes SyslogIdentifier=dotnet-example @@ -120,7 +120,8 @@ An example service file for our application. WantedBy=multi-user.target ``` ->note **User** If *www-data* is not used by your configuration, the user defined here must be created first and given proper ownership for files +> [!NOTE] +> **User** -- If the user *www-data* is not used by your configuration, the user defined here must be created first and given proper ownership for files Save the file and enable the service.