How is the application URL set by the Node Agent?

  • Updated

Question

How is the application URL set by the Contrast Node Agent?

Answer

The application URL is defined by application.path. The default value for this property is /.

 

The application URL could be overwritten by adding the following configuration to your contrast_security.yaml:

application:
path: <path_to_your_application>

 

You will see entries like the following in the Node Agent log on start up:

info: 2023-05-24T21:29:50.280Z 53538 contrast:contrast-init - Current Configuration: {
...
"application.path": "/build/app",
...
}

 

You will see the configured application.path in the Contrast UI:

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request