# Server Settings

Settings 내 Server 항목에서는 OvenMediaEngine Enterprise가 참조하고 있는 OvenMediaEngine의 <mark style="color:yellow;">Server 설정 정보</mark>, <mark style="color:yellow;">각 Module 설정 정보</mark>, <mark style="color:yellow;">Virtual Host 설정 정보</mark> 등을 확인할 수 있며, 현재 Server 명, Server 타입, Server IP, Privacy Protection, Stun Server 등을 수정할 수 있습니다.  수정된 내용은 `Server.xml`에 반영됩니다.

{% hint style="success" %}
추후 사용자가 직접 Web Console에서 더 많은 정보를 수정할 수 있도록 업데이트 될 예정이오니 잠시만 기다려주십시오.
{% endhint %}

## Server 설정하기

<figure><img src="/files/DWO8803XwRmDtBhLGJW5" alt=""><figcaption><p>Server Setting 페이지 내 Server 항목</p></figcaption></figure>

Setting 내 Server 항목으로 진입했을 때 보이는 화면으로 현재 설정된 Server 정보를 조회하고 수정할 수 있는 기능입니다.

* `Name`: 사용할 OvenMediaEngine의 이름을 지정할 수 있습니다.
* `Type`: OvenMediaEngine의 Host Type을 선택하여 `Origin Server` 또는 `Edge Server`로의 용도를 구분할 수 있습니다.
* `IP`: OvenMediaEngine이 바인딩할 IP를 입력할 수 있습니다. 특정 IP를 기입하는 경우 Host는 해당 IP만 사용할 수 있으며, `*`를 기입하는 경우 시스템은 모든 IP 주소를 사용할 수 있습니다.
* `Privacy Protection`: IP, Port 등 개인정보를 모든 기록에서 삭제하여 GDPR, PIPEDA, CCPA, LGPD 등을 준수하는 옵션입니다. 해당 옵션을 `True`로 설정하면 모든 Log 및 REST API에서 Client의 IP와 Port가 `xxx.xxx.xxx.xxx:xxx`로 변환되어 출력됩니다.
* `Stun Server`: OvenMediaEngine이 WebRTC를 통해 Player와 연결하기 위해 Public IP가 필요하지만, 로컬 인터페이스를 통해 Public IP를 획득하지 못하는 경우 OvenMediaEngine은 Stun Server와 통신하여 Public IP를 얻을 수 있습니다. 이때 필요한 Stun Server를 해당 항목에 기입하여 설정할 수 있습니다.

{% hint style="info" %}
세부 가이드: <https://docs.ovenmediaengine.com/configuration#server>
{% endhint %}

## Modules 설정하기

<figure><img src="/files/LeQsRUC49W75QAG2LdRP" alt=""><figcaption><p>Server Setting 페이지 내 Modules 항목</p></figcaption></figure>

Setting 내 Server 항목으로 진입했을 때 포함되어있는 옵션으로 현재 Server에 설정된 Module 정보를 조회하고 수정할 수 있는 기능입니다.

* `HTTP2`: Web Browser를 통해 OvenMediaEngine이 Ingress 또는 Egress하는 Stream을 원활하게 이용할 수 있도록 OvenMediaEngine 또한 HTTP/2를 지원합니다. 해당 옵션은 TLS Port에서만 작동합니다.
* `LLHLS`: HLS 스트리밍을 더 낮은 지연시간으로 제공하는 Low Latency HLS (LLHLS)의 사용 여부를 설정하는 옵션입니다.
* `P2P`: P2P Streaming은 현재 실험 단계에 있는 기능으로 사용자가 특정 Stream을 WebRTC로 Egress할 때 개별 시청자를 Host화 하여 Streaming 시 발생하는 네트워크 트래픽을 분산시키는 옵션입니다. 해당 옵션은 기본적으로 `False`로 설정되어 있지만, 언제든지 `True`로 설정하여 활성화 할 수 있고 `Peer Count`의 숫자를 변경해 하나의 Host Peer에 연결되는 Client Peer 수를 설정할 수 있습니다.

{% hint style="info" %}
P2P 세부 가이드: <https://docs.ovenmediaengine.com/p2p-delivery>
{% endhint %}

## Virtual Hosts 정보 조회하기

<figure><img src="/files/M0KngUzxVIbZt7mV8Oli" alt=""><figcaption><p>Server Setting 페이지 내 Virtual Hosts 항목</p></figcaption></figure>

Virtual Host는 하나의 시스템에서 둘 이상의 Streaming Server를 실행하는 방법으로 OvenMediaEngine은 IP 기반 Virtual Host와 Domain 기반 Virtual Host를 지원합니다.

위 이미지처럼 Setting 내 Server 항목으로 진입하여 현재 Server에 설정된 Virtual Host 정보를 조회할 수 있습니다.

{% hint style="info" %}
세부 가이드: <https://docs.ovenmediaengine.com/configuration#virtual-host>
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://ovenmediaengine-enterprise.gitbook.io/guide/ko-kr/exclusive/web-console/web-console-settings/server-settings.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
