> For the complete documentation index, see [llms.txt](https://docs.roboflow.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.roboflow.com/roboflow/roboflow-hi/deploy/enterprise-deployment/license-server.md).

# License Server (Deprecated)

{% hint style="warning" %}
License Server अब deprecated है। नए deployments को उपयोग करना चाहिए [Secure Gateway](/roboflow/roboflow-hi/deploy/enterprise-deployment/secure-gateway.md), इसका successor, जो model weights और container images की local caching जोड़ता है।
{% endhint %}

<figure><img src="/files/2d6560b1f76e6684855ac46716a9208d35a3cd59" alt=""><figcaption><p>License Server को Roboflow API के लिए proxy के रूप में उपयोग करें।</p></figcaption></figure>

## आवश्यकताएँ

* Ubuntu 20.04+ या Debian 11+ चलाने वाला Linux server
* api.roboflow\.com और repo.roboflow\.com तक Internet access
* Static IP address या hostname
* Port 80 उपलब्ध हो (या custom port)
* Docker Engine 20.10+
* 200GB+ storage
* 4GB+ memory

## License Server का उपयोग

यदि आप Roboflow Inference Server को Internet से firewall करना चाहते हैं, तो आपको Roboflow License Server का उपयोग करना होगा, जो Roboflow API और आपके models' weights के लिए proxy के रूप में काम करता है।

ऐसी machine पर जिसकी पहुँच हो `https://api.roboflow.com` और `https://repo.roboflow.com` (और port `80` जो आपकी private network में चल रहे Inference Server के लिए open हो), License Server Docker container pull करें:

```
docker pull repo.roboflow.com/roboflow/license-server
```

और इसे run करें:

```
docker run -d --name license-server -p 80:80 --restart unless-stopped \
    repo.roboflow.com/roboflow/license-server:latest
```

अपने Inference Server को इस License Server का उपयोग करने के लिए configure करें, उसकी IP को `LICENSE_SERVER` environment variable में:

```
sudo docker run --net=host --env LICENSE_SERVER=10.0.1.1 roboflow/inference-server:cpu
```

## Device Manager के माध्यम से configuration

यदि आप अपने devices को through [Device Manager](/roboflow/roboflow-hi/deploy/device-manager.md), तो आप प्रत्येक device की inference service के लिए Configuration tab में सीधे License Server address set कर सकते हैं।

जब आप License Server address enter करते हैं, `API_BASE_URL` स्वतः set हो जाता है `https://api.roboflow.com`. इससे License Server को requests proxy करने के लिए upstream मिलता है, और उस misconfiguration को रोका जाता है जिसमें दोनों `LICENSE_SERVER` और `API_BASE_URL` एक ही on-prem address की ओर point करते हैं (जिससे recursive proxy loop बन जाएगा)।

License Server field को clear करने से हटता नहीं `API_BASE_URL`, इसलिए existing configurations बाधित नहीं होतीं।
