> For the complete documentation index, see [llms.txt](https://docs.theopenpresenter.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.theopenpresenter.com/environment-variables.md).

# Environment Variables

The server can be configured by passing in different environment variables. Here are some of them:

#### DISABLE\_HSTS

Enabling this flag will disable [HSTS](https://en.wikipedia.org/wiki/HTTP_Strict_Transport_Security) from [helmet](https://github.com/helmetjs/helmet). This is useful for local deployment and our desktop build so that users doesn't have to use HTTPS to access the app.

#### AUTO\_LOGIN

Setting this to **"1"** will automatically create an anonymous user and use that to authenticate every client. This is useful in deployments where the concept of user is redundant like our desktop build.

#### ALLOW\_ANY\_ORIGIN

When enabled, we will relax security when being accessed from a random origin. Useful for local deployment like our desktop build.

#### UPLOADS\_PATH

When using the `file` storage, you can use this property to set the folder where the files will be saved. Otherwise, it will default to an `uploads` folder in the root directory.

#### PLUGINS\_PATH

The folder where plugins will be loaded from. The default is to a `loadedPlugins` folder in the root directory.


---

# 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 dynamically by asking a question.

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

```
GET https://docs.theopenpresenter.com/environment-variables.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.
