Set up a proxy server

You can set up the Sandbox Client to communicate with the gateway via a proxy server. It works by using HTTP CONNECT to create a secure connection.

  1. Open your config.json file.

  2. Modify the file to include your proxy server settings.

    "proxy": {
        "host": "127.0.0.1",
        "secure": false,
        "port": 2015,
        "user": "user",
        "pass": "abc123"
      },
    

📘

When adding a proxy section, you must also add useProxy: true to the originMappings section.

"originMappings": [ 
 {
    "useProxy": true 
 } 
]