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.mdpull/5169/head^2
parent
46e9d475a0
commit
a6c65afb62
|
@ -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:** 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.
|
Save the file and enable the service.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue