---
schema_version: "1"
id: b40b345f76342e126f65a913c3e56ec7f416de4117eee87281f06b6766f23ff4
title: サービス URI の設定
collection: mulesoft
version: current
locale: ja-jp
portal_url: https://docs.salesforce.com/mulesoft/current/ja-jp/apikit/latest/configure-service-uri-task.md
canonical_url: https://docs.mulesoft.com/jp/apikit/latest/configure-service-uri-task
source_site: docs.mulesoft.com
content_type: documentation
content_hash: b6f33d08e0247dabbeef80c6955879754268ebca9985db650317e2d946fb6bdd
description: MuleSoft Documentation Site
release: 4.x
latest: true
---
# サービス URI の設定

RAML または OAS API 実装の前にロードバランサーを使用する場合、プロキシで指定された URL が API の URL と一致することを確認するには、​**\[Keep RAML/OAS base URI (RAML/OAS ベース URI を保持)\]**​ フラグを有効にします。

コードを編集するには、​`keepApiBaseUri`​ を ​`true`​ に設定します。

```xml
<apikit:config  name="api-config"
                api="api.raml"
                outboundHeadersMapName="outboundHeaders"
                httpStatusVarName="httpStatus"
                keepApiBaseUri="true" />
```