From a6c65afb62da2cf5d426a5f882388de2ad507d0e Mon Sep 17 00:00:00 2001 From: DaveWut Date: Tue, 16 Jan 2018 15:14:54 -0500 Subject: [PATCH] Update linux-nginx.md (#5179) * Update linux-nginx.md Added a new notice about the configuration of the ASPNETCORE_ENVIRONMENT in the systemd configuration file. Since file and directory names are case sensitive under Linux, using an upper case "P" doesn't actually read the configuration file appsettings.production.json. * Update linux-nginx.md --- aspnetcore/host-and-deploy/linux-nginx.md | 1 + 1 file changed, 1 insertion(+) diff --git a/aspnetcore/host-and-deploy/linux-nginx.md b/aspnetcore/host-and-deploy/linux-nginx.md index c93b749904..0960db1140 100644 --- a/aspnetcore/host-and-deploy/linux-nginx.md +++ b/aspnetcore/host-and-deploy/linux-nginx.md @@ -159,6 +159,7 @@ WantedBy=multi-user.target ``` **Note:** If the user *www-data* is not used by the configuration, the user defined here must be created first and given proper ownership for files. +**Note:** Linux has a case-sensitive file system. Setting ASPNETCORE_ENVIRONMENT to "Production" results in searching for the configuration file *appsettings.Production.json*, not *appsettings.production.json*. Save the file and enable the service.