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
pull/5169/head^2
DaveWut 2018-01-16 15:14:54 -05:00 committed by Rick Anderson
parent 46e9d475a0
commit a6c65afb62
1 changed files with 1 additions and 0 deletions

View File

@ -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.