Update Reverse Proxy Configuration

JFrog REST APIs

Content Type
REST API
ft:sourceType
Paligo

Description: Updates the reverse proxy configuration.

Note

This API is available only in Self-hosted instances.

Since: 4.3.1

Security: Requires an admin user

Usage: POST /api/system/configuration/webServer

Consumes: application/json

Sample Usage:

POST /api/system/configuration/webServer
{
  "key" : "nginx",
  "webServerType" : "NGINX",
  "artifactoryAppContext" : "artifactory",
  "publicAppContext" : "artifactory",
  "serverName" : "jfrog.com",
  "serverNameExpression" : "*.jfrog.com",
  "artifactoryServerName" : "localhost",
  "artifactoryPort" : 8081,
  "sslCertificate" : "/etc/ssl/myKey.cert",
  "sslKey" : "/etc/ssl/myKey.key",
  "dockerReverseProxyMethod" : "SUBDOMAIN",
  "useHttps" : true,
  "useHttp" : true,
  "sslPort" : 443,
  "httpPort" : 76
}