This repository has been archived by the owner on Mar 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* improve * Update docs/prem-gateway/domains.md * Update docs/prem-gateway/domains.md
- Loading branch information
Showing
7 changed files
with
48 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
id: domains | ||
title: Domains | ||
sidebar_label: Domains | ||
sidebar_position: 1 | ||
--- | ||
|
||
At start, the Prem App is accessible via IP that is printed by the installation script. This IP is Prem Gateway IP address. | ||
|
||
## How it works? | ||
|
||
Domains feature gives you option to easily map your domain to your Prem App application. | ||
It is necessary to insert two A records: | ||
- A `example.com` to `<IP_GATEWAY>` | ||
- A `*.example.com` `<IP_GATEWAY>` | ||
You can also use a subdomain ie. `prem.example.com` and `*.prem.example.com` | ||
|
||
After this is done you need to add your domain in **Prem App > Settings > Domains**, and you are ready to go. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
id: https | ||
title: Automatic HTTPS | ||
sidebar_label: Automatic HTTPS | ||
sidebar_position: 2 | ||
--- | ||
|
||
At start, the Prem App is accessible via IP that is printed by the installation script. This IP is Prem Gateway IP address. | ||
|
||
## How it works? | ||
|
||
Once you setup [your own domain](./domains.md), Prem App will automatically generate SSL certificate for your domain and enable HTTPS for the application. Nothing to do here. | ||
|
||
Prem Services are accessible on subdomain level, for example, if you have Chat model named `llama`, it will be accessible on `https://llama.example.com/v1/chat/completions` endpoint |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.