appsettings.json
file within the installation directory. This file defines various settings you can apply to Universal. Although you can edit this file directly, it's recommended that you use one of the following methods to persist settings as the appsettings.json
file in the installation directory will be overridden on upgrades.${env:ProgramFiles(x86)}\Universal
.$Env:ProgramData\PowerShellUniversal
folder. You can use a subset of the settings from within the appsettings.json
file. For example, if you wanted to override the JWT settings, you could have an appsettings.json
file like this.appsettings.json
file. For example, if you want to change the JWT signing key via environment variable, you would set the variable $Env:Jwt__SigningKey
. If you wanted to set the external API URL, you would set $Env:Api__Url
.appsettings.json
file by using the --appsettings
command line argument for Universal.Server.exe
.Get-UAScript
from within a running job, the Universal server needs to determine where the web server. When running within a proxy, it cannot determine this itself. You will want to configure this to point to the name and port of the IIS website in this configuration.code