Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 26 additions & 12 deletions get-started/configure/proxy-config.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

Below are steps for configuring your proxy settings at different levels within Bruno.

## 1. Accessing Proxy Settings
## 1. Accessing proxy settings

1. Open Bruno.
2. Click on the **Preferences** section from the bottom left corner.
Expand All @@ -21,41 +21,55 @@

![proxy-settings](/images/screenshots/get-started/config/settings/proxy-settings.webp)

## 2. Configuring Proxy Mode
## 2. Configuring proxy mode

Bruno provides three options for proxy mode:
Bruno provides four options for proxy mode:

- **Off**: Disables proxy usage.
- **On**: Enables proxy and routes requests through the configured proxy.
- **On**: Enables proxy and routes requests through a manually configured proxy.
- **System Proxy**: Uses the system-wide proxy settings.
- **PAC**: Uses a Proxy Auto-Configuration (PAC) file to determine which proxy to use for each request.

Select **On** if you want to configure a custom proxy.
Select **On** if you want to configure a custom proxy, or **PAC** if you have a `.pac` file that defines proxy rules.

## 3. Selecting Proxy Protocol
## 3. Configuring PAC proxy

Bruno supports different proxy protocols. Choose one of the following:
If you select **PAC** mode, you can provide a PAC file in two ways:

- **URL**: Enter the URL to a remote PAC file (e.g., `https://example.com/proxy.pac`). Supported URL schemes are `http://`, `https://`, and `file://`.
- **File**: Click **Choose file...** to browse and select a local `.pac` file from your filesystem.

PAC files contain JavaScript that determines which proxy server (if any) should be used for a given URL. This is commonly used in corporate environments where different proxy servers handle different network destinations.

<Note>
The proxy configuration is not saved until a valid PAC URL or file is selected. If you switch to PAC mode without providing a source, the previous proxy settings remain active.
</Note>

## 4. Selecting proxy protocol

When using **On** (manual) mode, you can choose from the following proxy protocols:

- **HTTP**
- **HTTPS**
- **SOCKS4**
- **SOCKS5**

## 4. Entering Proxy Details
## 5. Entering proxy details

Fill in the required fields:

- **Hostname**: The proxy server's domain or IP address (e.g., `example.com`).

Check warning on line 61 in get-started/configure/proxy-config.mdx

View check run for this annotation

Mintlify / Mintlify Validation (bruno-a6972042) - vale-spellcheck

get-started/configure/proxy-config.mdx#L61

Did you really mean 'Hostname'?
- **Port**: The port number for the proxy connection (e.g., `3000`).

## 5. Enabling Authentication (Optional)
## 6. Enabling authentication (optional)

If your proxy requires authentication:

1. Check the **Auth** checkbox.
2. Enter the **Username**.
3. Enter the **Password** (Click the eye icon to reveal the password if needed).

## 6. Configuring Proxy at Collection Level
## 7. Configuring proxy at collection level

There may be instances in which your collection needs to use a different proxy than what you have configured globally. Configuring proxy settings at the collection level will override any configuration you've made in the preferences section.

Expand All @@ -66,17 +80,17 @@

![collection-proxy](/images/screenshots/get-started/config/proxy/3-collection-proxy.webp)

### **Choose the Configuration Mode:**
### Choose the configuration mode

- **inherit**: Uses the main proxy settings from Preferences.
- **Enabled**: Enables a custom proxy for this collection.
- **Disabled**: Disables the proxy for this collection.

3. Choose **inherit, enabled, or disabled**.
4. Enter the **Hostname, Port, Protocol, Username, and Password** if needed.

Check warning on line 90 in get-started/configure/proxy-config.mdx

View check run for this annotation

Mintlify / Mintlify Validation (bruno-a6972042) - vale-spellcheck

get-started/configure/proxy-config.mdx#L90

Did you really mean 'Hostname'?
5. Click **Save** to apply the settings.

## 7. Saving Proxy Configuration
## 8. Saving proxy configuration

After entering the proxy details, click the **Save** button to apply the changes. Your proxy settings are now configured in Bruno.

Loading