> For the complete documentation index, see [llms.txt](https://docs.pullrequest.com/gitlab-on-prem-self-managed/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pullrequest.com/gitlab-on-prem-self-managed/production-setup.md).

# Production Setup

## Starting the Proxy

By default the following command will run the proxy on `localhost` port `5012`

```
start.sh
```

You should be able to connect to a reverse-proxy (if desired).

Alternatively if you would prefer to run the proxy on this server using built-in tls/http2 support you can create a `tls` directory and add a `cert.pem` and `key.pem`.&#x20;

Then starting your proxy with the following will use your certificate and run on port `80/443` and automatically redirect http requests to https:

```
start_with_tls.sh
```
