> For the complete documentation index, see [llms.txt](https://docs.swingsoftware.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.swingsoftware.com/seascape-for-notes/seascape-flex/enabling-https-on-seascape-flex-server.md).

# Enabling HTTPS on Seascape Flex server

The Seascape Flex server is hosted using Kestrel, and the recommended way to make Kestrel work with HTTPS is by configuring the IIS to work as a reverse proxy.

To enable your IIS server to work as a reverse proxy for Seascape Flex follow these instructions:

1\. Install the [Application Request Routing module](https://www.iis.net/downloads/microsoft/application-request-routing) in IIS:

![](https://1039028294-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkmLDl5OXrWVfn2nv57%2Fuploads%2FhbvnW9FUnEbZCyl3EDLN%2Fimage.png?alt=media\&token=4fbfd619-2492-4097-a0c4-a2741b776267)

2\. Once the module installed, right-click **Sites**, and click **Add Website**:

![](https://1039028294-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkmLDl5OXrWVfn2nv57%2Fuploads%2FMRCSn0N4WDBaV1R7xeZV%2Fimage.png?alt=media\&token=8ad01645-4b6c-4000-9b12-86f028f42ff9)

3\. In the Add Website popup select HTTPS in the Binding section and assign a port (e.g. port 445).

You must also select an **SSL certificate** to use, and select a **Physical path** folder (it can be an empty folder).

When you're done click OK to save your changes:

![](https://1039028294-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkmLDl5OXrWVfn2nv57%2Fuploads%2FS1DP4cF4BXULlcGWG3A5%2Fimage.png?alt=media\&token=469cb6a8-3873-46e5-9dc4-ec07bafbff10)

4\. Select the new site you created and double-click the **URL Rewrite** icon:

![](https://1039028294-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkmLDl5OXrWVfn2nv57%2Fuploads%2FX3XF9SNW8TxzvjaT7IQC%2Fimage.png?alt=media\&token=5f1b28fb-6461-4b30-a95e-91981fcdd287)

5\. In the URL Rewrite window click **Add rule**:

![](https://1039028294-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkmLDl5OXrWVfn2nv57%2Fuploads%2FsA0zWYzWoTJi8H14aTe7%2Fimage.png?alt=media\&token=a88e82a6-b85c-46f9-855c-94fc29756622)

6\. A popup will appear as shown in the below example. Click the **Reverse Proxy** icon in the popup:

![](https://1039028294-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkmLDl5OXrWVfn2nv57%2Fuploads%2FVGjXfYbQMIYJDcTwzLkM%2Fimage.png?alt=media\&token=68ae00df-f7ea-479e-9819-0bc696c048fb)

7\. A new popup now appears as shown in the below example.

Now enter your server name or the IP address where Seascape Flex is hosted (by default that will be **localhost:7500**):

![](https://1039028294-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkmLDl5OXrWVfn2nv57%2Fuploads%2FU51D0X0WbEEYbcSaPPj8%2Fimage.png?alt=media\&token=7a33473c-49ae-48ce-a03e-a01d84c50915)

8\. Click OK to exit all popups and save your changes.

Your IIS server is now ready to start accepting HTTPS requests.

IIS will handle the HTTPS requests normally and then forward them to Kestrel in the background.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.swingsoftware.com/seascape-for-notes/seascape-flex/enabling-https-on-seascape-flex-server.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
